Bug 73542 - Shadow ID pseudo-element selectors serialize incorrectly
Summary: Shadow ID pseudo-element selectors serialize incorrectly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Roland Steiner
URL:
Keywords:
Depends on:
Blocks: 72933
  Show dependency treegraph
 
Reported: 2011-12-01 02:14 PST by Roland Steiner
Modified: 2011-12-01 09:47 PST (History)
7 users (show)

See Also:


Attachments
Patch (7.41 KB, patch)
2011-12-01 02:18 PST, Roland Steiner
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Steiner 2011-12-01 02:14:43 PST
Shadow ID pseudo-elements add a whitespace between the host element part and the pseudo-element when being serialized. E.g.:

    #a::-webkit-slider-thumb

becomes

    #a ::webkit-slider-thumb

which has a different meaning.
Comment 1 Roland Steiner 2011-12-01 02:18:26 PST
Created attachment 117386 [details]
Patch
Comment 2 Dimitri Glazkov (Google) 2011-12-01 09:11:02 PST
Comment on attachment 117386 [details]
Patch

ooh, good catch. Thanks!
Comment 3 WebKit Review Bot 2011-12-01 09:47:41 PST
Comment on attachment 117386 [details]
Patch

Clearing flags on attachment: 117386

Committed r101679: <http://trac.webkit.org/changeset/101679>
Comment 4 WebKit Review Bot 2011-12-01 09:47:47 PST
All reviewed patches have been landed.  Closing bug.