[Webkit-unassigned] [Bug 127837] New: [CSS Grid Layout] getComputedStyle() not using author's order when showing named grid lines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 29 03:17:52 PST 2014


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

           Summary: [CSS Grid Layout] getComputedStyle() not using
                    author's order when showing named grid lines
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: svillar at igalia.com


It's easy to check that with a declaration like:

-webkit-grid-definition-columns:  "first" "nav" 10px "last";

the return value of getComputedStyle() is

"nav" "first" 10px "last"

It isn't really critical because the name refers to the same position independently of the order, but it looks weird from the author's POV as the names are not in the order they were written. The reason why it happens is because we're just taking the names from a HashMap where we store the information about the named grid lines, so the insertion order is not guaranteed at all.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list