Bug 110363

Summary: Web Inspector: font-weight incorrectly marked as overloaded
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, burg, joepeck, keishi, koivisto, loislo, menard, pfeldman, pmuellr, timothy, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test Case none

Timothy Hatcher
Reported 2013-02-20 12:00:04 PST
font-weight is inherited but it is also cumulative, with bolder and lighter. Even if you don't use bolder and lighter a !important font-weight on an inherited rule will be marked as active when the overloaded version is really the active one. See the test case.
Attachments
Test Case (264 bytes, text/html)
2013-02-20 12:00 PST, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2013-02-20 12:00:48 PST
Created attachment 189351 [details] Test Case
Timothy Hatcher
Comment 2 2013-02-20 12:05:39 PST
I'm not sure what the right approach here is. Special case font-weight when marking overloaded properties? Or is this a WebCore bug?
Alexander Pavlov (apavlov)
Comment 3 2013-02-20 12:17:07 PST
(In reply to comment #2) > I'm not sure what the right approach here is. Special case font-weight when marking overloaded properties? Or is this a WebCore bug? Antti, Alexis: WDYT? What should be the right behavior in this case?
Brian Burg
Comment 4 2014-12-13 13:43:35 PST
On TOT, the inherited rule is marked with strikethrough, which seems to be correct. Closing.
Note You need to log in before you can comment on or make changes to this bug.