Edit report at http://pear.php.net/bugs/bug.php?id=16355&edit=1

ID: 16355
Updated by: pear@laurent-laville.org
Reported By: tor-erik at web-amp dot com
Summary: Simple at rules nested within other at rules are
reported as top level at rules
-Status: Open
+Status: Verified
Type: Bug
Package: HTML_CSS
Operating System: Ubuntu
Package Version: 1.5.3
PHP Version: 5.2.4
Roadmap Versions:
New Comment:

-Status: Open
+Status: Verified

Previous Comments:

[2009-06-21 13:39:08] torerikh

Given the following CSS (not 100% valid, but should still not
cause corrupt parse results):

@media screen {
@import "screen-main.css";
body { font-size: 10pt }

the import at rule is incorrectly reported as beeing a top level
import and not ignored or reported as beeing inside the media
at rule.

Test script:
$a = new HTML_CSS(null, null);

@media screen {
@import \"screen-main.css\";
body { font-size: 10pt }

Expected result:
The import at rule should either be ignored or reported inside the
media at rule.

Actual result:
The import rule is reported as a top level rule independently of
the media element.


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedJun 21, '09 at 5:57p
activeJun 21, '09 at 5:57p

1 user in discussion

Pear: 1 post



site design / logo © 2021 Grokbase