Summary: | [CSS Grid Layout] Percentages of indefinite sizes should compute to auto | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> | ||||
Component: | CSS | Assignee: | Sergio Villar Senin <svillar> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, darin, dino, esprehn+autocc, fpizlo, glenn, hyatt, jfernandez, kling, kondapallykalyan, mark.lam, rego, simon.fraser | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 127033 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Sergio Villar Senin
2014-02-04 04:33:33 PST
Created attachment 223446 [details]
Patch
Comment on attachment 223446 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223446&action=review > Source/WebCore/rendering/RenderGrid.cpp:413 > + DEFINE_STATIC_LOCAL(GridTrackSize, autoTrackSize, (Auto)); New code should not use DEFINE_STATIC_LOCAL (I think we should rename it DEPRECATED_DEFINE_STATIC_LOCAL). Instead you should just use static NeverDestroyed. There are lots of examples of that all over the code. (In reply to comment #2) > (From update of attachment 223446 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=223446&action=review > > > Source/WebCore/rendering/RenderGrid.cpp:413 > > + DEFINE_STATIC_LOCAL(GridTrackSize, autoTrackSize, (Auto)); > > New code should not use DEFINE_STATIC_LOCAL (I think we should rename it DEPRECATED_DEFINE_STATIC_LOCAL). Instead you should just use static NeverDestroyed. There are lots of examples of that all over the code. Filed https://bugs.webkit.org/show_bug.cgi?id=129612 Committed r165048: <http://trac.webkit.org/changeset/165048> |