[Webkit-unassigned] [Bug 139206] New: Web Inspector: CSS Minification breaks selectors some selectors with colons

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 2 15:44:25 PST 2014


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

            Bug ID: 139206
           Summary: Web Inspector: CSS Minification breaks selectors some
                    selectors with colons
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: benjamin at webkit.org, graouts at webkit.org,
                    joepeck at webkit.org, simon.fraser at apple.com,
                    timothy at apple.com, webkit-bug-importer at group.apple.com

* SUMMARY
Production builds have broken styles. Selectors with colons that may be preceded by a space (e.g. :matches, :not, :focus) are broken by magnification which removes the leading space, and changes the semantics.

  ".a :matches(...)" !== ".a:matches(...)"
  ".a :not(.b)" !== ".a:not(.b)"

* NOTES
- This has been breaking some edge cases for a while, and a lot more as we start using :matches and :not more frequently.
UserInterface/Views/DebuggerDashboardView.css:106:.toolbar:not(.small-size) .dashboard.debugger > .location :not(:first-child) {
UserInterface/Views/TimelineSidebarPanel.css:221:.sidebar > .panel.navigation.timeline > .timelines-content :focus li.item.selected + li.item {

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141202/7186dff0/attachment-0002.html>


More information about the webkit-unassigned mailing list