Bug 94099

Summary: Parser stage for CSS Hierarchies
Product: WebKit Reporter: Shane Stephens <shanestephens>
Component: New BugsAssignee: Shane Stephens <shanestephens>
Status: RESOLVED INVALID    
Severity: Normal CC: andersca, cmarcelo, dglazkov, gyuyoung.kim, koivisto, macpherson, menard, rakuco, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 94290    
Bug Blocks: 79939    
Attachments:
Description Flags
Patch
koivisto: review-, webkit.review.bot: commit-queue-
Archive of layout-test-results from gce-cr-linux-03 none

Description Shane Stephens 2012-08-15 06:11:58 PDT
Parser stage for CSS Hierarchies
Comment 1 Shane Stephens 2012-08-15 06:17:54 PDT
Created attachment 158556 [details]
Patch
Comment 2 WebKit Review Bot 2012-08-15 07:02:58 PDT
Comment on attachment 158556 [details]
Patch

Attachment 158556 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13501656

New failing tests:
fast/dom/shadow/content-selector-query.html
printing/pseudo-class-outside-page.html
jquery/traversing.html
jquery/attributes.html
fast/css/css3-nth-tokens-script.html
fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml
jquery/css.html
jquery/event.html
Comment 3 WebKit Review Bot 2012-08-15 07:03:03 PDT
Created attachment 158563 [details]
Archive of layout-test-results from gce-cr-linux-03

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-03  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 4 Antti Koivisto 2012-08-15 08:29:30 PDT
Please surround all code related to this experimental feature with  #if !ENABLE(CSS_HIERARCHIES) .
Comment 5 Antti Koivisto 2012-08-15 08:31:51 PDT
-!
Comment 6 Tony Chang 2012-08-15 17:26:39 PDT
Comment on attachment 158556 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=158556&action=review

> LayoutTests/css3/hierarchies-parsing.html:9
> +    & .inner {
> +        background-color: red;

There should be a lot more tests, including tests that are expected to fail.
- multiple levels of &
- & at the top level
- & without a space after it
- & with a newline after it
- & {
- &{
- & &
- &&
- & .inner #foo
- & #foo
- & div
- & :active
etc.

> LayoutTests/platform/chromium/TestExpectations:166
> +// CSS Hierarchies are not yet enabled.
> +BUGWK79939 SKIP : css3/hierarchies-parsing.html = PASS

Please put all the hierarchies tests in a subdirectory, e.g., css3/hierarchies/parsing.html.  That will make it easier to skip the whole directory and easier for you to run the tests.

> LayoutTests/platform/mac/TestExpectations:26
> +// CSS Hierarchies are not yet enabled.
> +BUGWK79939 SKIP : css3/hierarchies-parsing.html = PASS

I would consider running this test on mac with the failing expectation checked in.  That way we can be sure that height is not set for .outer if hierarchies is not compiled in.
Comment 7 Anders Carlsson 2014-02-08 08:50:12 PST
CSS Hierarchies has been removed, see 

https://bugs.webkit.org/show_bug.cgi?id=102554