WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
245205
Align "UA" stylesheet for hidden elements with HTML Spec and consolidate "display: none"
https://bugs.webkit.org/show_bug.cgi?id=245205
Summary
Align "UA" stylesheet for hidden elements with HTML Spec and consolidate "dis...
Ahmad Saleem
Reported
2022-09-14 17:06:44 PDT
I noticed that we are failing few WPT tests:
https://wpt.fyi/results/html/rendering/non-replaced-elements/hidden-elements.html?label=master&label=experimental&aligned&view=subtest&q=hidden%20element
Because we don't have those elements defined as "display: none" in html.css like other browser engines 'Gecko' and 'Blink'. This bug is to add the missing and also consolidate already used 'display: none' in one go to make it easier to read and manage. I am going to follow web-spec:
https://html.spec.whatwg.org/#hidden-elements
In case, if I am not able to do it and had to close my PR, I will share details on genuine test failures or why this is no go at the moment for Webkit so someone else can take a look in future. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Tim Nguyen (:ntim)
Comment 1
2022-09-15 09:09:40 PDT
https://github.com/WebKit/WebKit/pull/4370
Fujii Hironori
Comment 2
2022-09-15 13:46:31 PDT
***
Bug 242101
has been marked as a duplicate of this bug. ***
EWS
Comment 3
2022-09-16 23:23:46 PDT
Committed
254584@main
(f02c256038a1): <
https://commits.webkit.org/254584@main
> Reviewed commits have been landed. Closing PR #4370 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2022-09-16 23:24:17 PDT
<
rdar://problem/100059760
>
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