WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 110363
Web Inspector: font-weight incorrectly marked as overloaded
https://bugs.webkit.org/show_bug.cgi?id=110363
Summary
Web Inspector: font-weight incorrectly marked as overloaded
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
Details
View All
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug