WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
50020
Style not applied on parenting data attribute
https://bugs.webkit.org/show_bug.cgi?id=50020
Summary
Style not applied on parenting data attribute
Jeremy Selier
Reported
2010-11-24 05:26:36 PST
Created
attachment 74750
[details]
Web page that reproduce the issue When I add a data attribute to an element via a click event and that I've set a style rule that apply based on this data attribute. On any webkit version I've tried (Safari/Chromium included), the style is not applied. This works on Firefox 4b7. Not sure my explanation is clear enough so here's a test page to reproduce it:
http://www.jeremyselier.com/s/bug/css-datavar
Attachments
Web page that reproduce the issue
(45 bytes, text/plain)
2010-11-24 05:26 PST
,
Jeremy Selier
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mathias Bynens
Comment 1
2010-11-24 06:30:13 PST
Not just data attributes — looks like *any* attributes that are toggled/changed via JavaScript don’t cause a repaint.
Brent Fulgham
Comment 2
2022-07-12 13:58:28 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
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