Closed
Bug 539640
Opened 15 years ago
Closed 15 years ago
Broken getComputedStyle for element styled with font-weight:bold
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: alice0775, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2pre) Gecko/20100113 Firefox/3.5.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20100113 Minefield/3.7a1pre ID:20100113050725
For element with "font-weight:bold",
getComputedStyle returns "700" on Minefield, "bold" on Namoroka/Shiretoko/Google Chrome:
It should return "bold".
Reproducible: Always
Steps to Reproduce:
1.Start Minefield with new profile
2.Open URL
3.
Actual Results:
Alert "700"
Expected Results:
Alert "bold"
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Version: unspecified → Trunk
Updated•15 years ago
|
Component: General → DOM: CSS Object Model
QA Contact: general → general
Reporter | ||
Comment 2•15 years ago
|
||
Regresion window:
Works:
http://hg.mozilla.org/mozilla-central/rev/3cdaf0a84414
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091114 Minefield/3.7a1pre ID:20091114044721
Broken:
http://hg.mozilla.org/mozilla-central/rev/3405d57427a5
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091115 Minefield/3.7a1pre ID:20091115042134
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3cdaf0a84414&tochange=3405d57427a5
Candidate bug:
Bug 173331 - font-weight bold is not computed to a number
Is this behavior intentional?
Updated•15 years ago
|
Keywords: regressionwindow-wanted
Comment 3•15 years ago
|
||
let's see. if it's a regression against 1.9.2 it's at least not a dupe of Bug 77882, isn't it?
Blocks: 173331
Comment 4•15 years ago
|
||
This was intentional; we always returned 400 for 'normal'.
Comment 5•15 years ago
|
||
Yep. Sounds invalid to me.
Reporter | ||
Comment 6•15 years ago
|
||
OK, I changed status to INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•