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)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

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"
Attached file testcase (deleted) —
Version: unspecified → Trunk
Component: General → DOM: CSS Object Model
QA Contact: general → general
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?
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
This was intentional; we always returned 400 for 'normal'.
Yep. Sounds invalid to me.
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.

Attachment

General

Created:
Updated:
Size: