WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15508
misparsing of the selector: "html>body*#search .srchimgs" is parsed as "html > body #search .srchimgs"
https://bugs.webkit.org/show_bug.cgi?id=15508
Summary
misparsing of the selector: "html>body*#search .srchimgs" is parsed as "html ...
Anantha Keesara
Reported
2007-10-14 11:25:21 PDT
Safari treats the following two lines differently. html>body*#search html>body* #search Please see the testcase.
Attachments
If the style defined for an element has a space between Universal selector(*) and id(#), then Safari doesn't render that element
(445 bytes, text/html)
2007-10-14 11:26 PDT
,
Anantha Keesara
no flags
Details
Clearer reduction
(158 bytes, text/html)
2007-10-14 11:44 PDT
,
Mark Rowe (bdash)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Anantha Keesara
Comment 1
2007-10-14 11:26:13 PDT
Created
attachment 16668
[details]
If the style defined for an element has a space between Universal selector(*) and id(#), then Safari doesn't render that element
Mark Rowe (bdash)
Comment 2
2007-10-14 11:39:04 PDT
The problem would appear to be that "html>body*#search .srchimgs" is parsed as "html > body #search .srchimgs". The title is highly misleading: the element is not rendered because the stylesheet has display: none. The problem is the misparsing of the selector, not that the element is not rendered.
Mark Rowe (bdash)
Comment 3
2007-10-14 11:44:20 PDT
Created
attachment 16669
[details]
Clearer reduction
Eric Seidel (no email)
Comment 4
2008-01-11 15:56:39 PST
I think
bug 16751
is a dupe of this one.
Dave Hyatt
Comment 5
2008-02-04 14:17:36 PST
Fixed in
r29776
-8.
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