[Webkit-unassigned] [Bug 51172] Implement @-webkit-document CSS rule for use in user stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 16 12:04:00 PST 2010


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
         OS/Version|Mac OS X 10.6               |All
                 CC|                            |ap at webkit.org,
                   |                            |hyatt at apple.com,
                   |                            |mitz at webkit.org




--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2010-12-16 12:04:00 PST ---
Pasting from the provided URL:

The @-moz-document rule is a Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document. It is designed primarily for user style sheets.

@-moz-document url(http://www.w3.org/),  
               url-prefix(http://www.w3.org/Style/),  
               domain(mozilla.org)  
{  
  /* CSS rules here apply to: 
     + The page "http://www.w3.org/". 
     + Any page whose URL begins with "http://www.w3.org/Style/" 
     + Any page whose URL's host is "mozilla.org" or ends with 
       ".mozilla.org" 
   */  

  /* make the above-mentioned pages really ugly */  
  body { color: purple; background: yellow; }  
}

-- 
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