Bug 87678

Summary: [CSS3 Backgrounds and Borders] Implement box-decoration-break parsing.
Product: WebKit Reporter: Alexis Menard (darktears) <menard>
Component: New BugsAssignee: Alexis Menard (darktears) <menard>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, dglazkov, eric, hyatt, jackalmage, macpherson, paulirish, tabatkins, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Archive of layout-test-results from ec2-cr-linux-04
none
Patch
none
Archive of layout-test-results from ec2-cr-linux-01
none
Archive of layout-test-results from ec2-cr-linux-02
none
Patch
none
Patch
none
Patch none

Description Alexis Menard (darktears) 2012-05-28 13:38:21 PDT
[CSS3 Backgrounds and Borders] Implement box-decoration-break parsing.
Comment 1 Alexis Menard (darktears) 2012-05-28 13:42:41 PDT
Created attachment 144394 [details]
Patch
Comment 2 Alexis Menard (darktears) 2012-05-28 13:43:57 PDT
(In reply to comment #1)
> Created an attachment (id=144394) [details]
> Patch

Let's give a shot, I'm not yet familiar with all the bits and pieces in the rendering code so please forgive my ignorance if I misplaced the bits of box-decoration-break.
Comment 3 Eric Seidel (no email) 2012-05-28 14:01:52 PDT
This technically looks fine.  Are we supposed to be adding -webkit- these days or not?
Comment 4 Alexis Menard (darktears) 2012-05-28 14:04:02 PDT
(In reply to comment #3)
> This technically looks fine.  Are we supposed to be adding -webkit- these days or not?

Good question. I can easily add the -webkit counterpart if needed. Not sure at the end what was the conclusion on www-style.
Comment 5 Build Bot 2012-05-28 14:11:05 PDT
Comment on attachment 144394 [details]
Patch

Attachment 144394 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/12853048
Comment 6 Alexis Menard (darktears) 2012-05-28 14:19:20 PDT
Created attachment 144396 [details]
Patch
Comment 7 WebKit Review Bot 2012-05-28 15:26:17 PDT
Comment on attachment 144396 [details]
Patch

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

New failing tests:
fast/css/getComputedStyle/computed-style-without-renderer.html
fast/css/getComputedStyle/computed-style.html
svg/css/getComputedStyle-basic.xhtml
Comment 8 WebKit Review Bot 2012-05-28 15:26:21 PDT
Created attachment 144403 [details]
Archive of layout-test-results from ec2-cr-linux-04

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-04  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 9 Alexis Menard (darktears) 2012-05-28 15:57:56 PDT
Created attachment 144406 [details]
Patch
Comment 10 WebKit Review Bot 2012-05-28 17:19:12 PDT
Comment on attachment 144406 [details]
Patch

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

New failing tests:
fast/css/getComputedStyle/computed-style-without-renderer.html
Comment 11 WebKit Review Bot 2012-05-28 17:19:16 PDT
Created attachment 144412 [details]
Archive of layout-test-results from ec2-cr-linux-01

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-01  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 12 WebKit Review Bot 2012-05-28 18:04:44 PDT
Comment on attachment 144406 [details]
Patch

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

New failing tests:
fast/css/getComputedStyle/computed-style-without-renderer.html
Comment 13 WebKit Review Bot 2012-05-28 18:04:51 PDT
Created attachment 144416 [details]
Archive of layout-test-results from ec2-cr-linux-02

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-02  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 14 Alexis Menard (darktears) 2012-05-29 05:38:32 PDT
Created attachment 144530 [details]
Patch
Comment 15 Alexis Menard (darktears) 2012-05-29 11:22:15 PDT
Created attachment 144592 [details]
Patch
Comment 16 Alexis Menard (darktears) 2012-05-29 11:30:15 PDT
(In reply to comment #15)
> Created an attachment (id=144592) [details]
> Patch

With -webkit prefixed version as I quote :

"TabAtkins: darktears: Right now, yes, keep using prefixes.  Our feelings about prefix usage and how we should deal with it are still in turmoil, but the current consensus is that we simply need to move fast and monitor usage."
Comment 17 Eric Seidel (no email) 2012-05-29 11:32:59 PDT
Comment on attachment 144592 [details]
Patch

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

> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:110
> +    CSSPropertyBoxDecorationBreak,

That means we don't add the non-prefixed version, right?
Comment 18 Alexis Menard (darktears) 2012-05-29 11:56:42 PDT
Created attachment 144594 [details]
Patch
Comment 19 Eric Seidel (no email) 2012-05-29 12:20:31 PDT
Comment on attachment 144594 [details]
Patch

OK.  I look forward to the rendering patch!
Comment 20 Alexis Menard (darktears) 2012-05-29 12:27:32 PDT
(In reply to comment #19)
> (From update of attachment 144594 [details])
> OK.  I look forward to the rendering patch!

Thanks. Stay around, I will have questions :)
Comment 21 WebKit Review Bot 2012-05-29 16:25:17 PDT
Comment on attachment 144594 [details]
Patch

Clearing flags on attachment: 144594

Committed r118853: <http://trac.webkit.org/changeset/118853>
Comment 22 WebKit Review Bot 2012-05-29 16:25:24 PDT
All reviewed patches have been landed.  Closing bug.
Comment 23 Paul Irish 2012-06-09 15:34:15 PDT
Alexis, can we put this behind a feature flag? 

Clientside feature detection relies on the weak assumption that successful parsing means successful rendering.
Comment 24 Alexis Menard (darktears) 2012-06-11 07:49:10 PDT
(In reply to comment #23)
> Alexis, can we put this behind a feature flag? 
> 
> Clientside feature detection relies on the weak assumption that successful parsing means successful rendering.

Well why not landing https://bugs.webkit.org/show_bug.cgi?id=88228. Eric Seidel is out of the office and David Hyatt is always hard to get.

I can put a feature flags if that's really needed.
Comment 25 Tab Atkins Jr. 2012-06-11 13:07:12 PDT
(In reply to comment #24)
> (In reply to comment #23)
> > Alexis, can we put this behind a feature flag? 
> > 
> > Clientside feature detection relies on the weak assumption that successful parsing means successful rendering.
> 
> Well why not landing https://bugs.webkit.org/show_bug.cgi?id=88228. Eric Seidel is out of the office and David Hyatt is always hard to get.
> 
> I can put a feature flags if that's really needed.

Yes, you should land parsing behind a flag, unless you're quite certain that the working side of it will very shortly follow.  (And if that assumption is broken, it should definitely be behind a flag.)

Given that you appear to be having some problems getting the rendering patch reviewed quickly, I strongly suggest making sure that parsing doesn't work in public until the feature itself works.
Comment 26 Alexis Menard (darktears) 2012-06-11 13:09:37 PDT
(In reply to comment #25)
> (In reply to comment #24)
> > (In reply to comment #23)
> > > Alexis, can we put this behind a feature flag? 
> > > 
> > > Clientside feature detection relies on the weak assumption that successful parsing means successful rendering.
> > 
> > Well why not landing https://bugs.webkit.org/show_bug.cgi?id=88228. Eric Seidel is out of the office and David Hyatt is always hard to get.
> > 
> > I can put a feature flags if that's really needed.
> 
> Yes, you should land parsing behind a flag, unless you're quite certain that the working side of it will very shortly follow.  (And if that assumption is broken, it should definitely be behind a flag.)
> 
> Given that you appear to be having some problems getting the rendering patch reviewed quickly, I strongly suggest making sure that parsing doesn't work in public until the feature itself works.

Ok I will do that then.