Closed
      
        Bug 1362333
      
      
        Opened 8 years ago
          Closed 7 years ago
      
        
    
  
stylo: @-moz-document 'domain' and 'url-prefix' URL matching functions are parsed differently than in Gecko
Categories
(Core :: CSS Parsing and Computation, defect, P5)
        Core
          
        
        
      
        
    
        CSS Parsing and Computation
          
        
        
      
        
    Tracking
()
        RESOLVED
        WONTFIX
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | wontfix | 
People
(Reporter: ferjm, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
From https://bugzilla.mozilla.org/show_bug.cgi?id=1355408#c46
Gecko reuses the same mechanism as parsing a url-token when parsing the 'domain' or 'url-prefix' URL matching functions for a @-moz-document rule. Stylo does not use the same mechanism and it does not consider the tokens invalid when there is any bracket or quotes inside.
| Updated•8 years ago
           | 
Assignee: nobody → ferjmoreno
Priority: -- → P2
| Comment 1•8 years ago
           | ||
I don't think we are going to fix this... Moving it to behavior change tracking bug.
Assignee: ferjmoreno → nobody
| Comment 3•8 years ago
           | ||
Marking as part of documentation plan for intentional stylo differences, just in case it is ever fixed.
Keywords: dev-doc-needed
| Comment 4•8 years ago
           | ||
I decided to document it anyway:
https://developer.mozilla.org/en-US/docs/Web/CSS/@document#Quantum_CSS_notes
https://developer.mozilla.org/en-US/Firefox/Releases/57#Quantum_CSS_notes
Keywords: dev-doc-needed → dev-doc-complete
| Comment 5•7 years ago
           | ||
status-firefox57=wontfix unless someone thinks this bug should block 57
          status-firefox57:
          --- → wontfix
| Comment 6•7 years ago
           | ||
The current plan is just to parse url-prefix(), per bug 1446470, so I think this one can be WONTFIXed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•