Skip to content

Commit dae09a3

Browse files
committed
[css2] Removed @page.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401944
1 parent a95c082 commit dae09a3

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

css2/grammar.src

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.25 2002-08-02 17:38:42 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.26 2002-08-19 14:57:52 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix: grammar of CSS&nbsp;2.1</TITLE>
@@ -46,7 +46,7 @@ used:</P>
4646
stylesheet
4747
: [ CHARSET_SYM S* STRING S* ';' ]?
4848
[S|CDO|CDC]* [ import [S|CDO|CDC]* ]*
49-
[ [ ruleset | media | page | font_face ] [S|CDO|CDC]* ]*
49+
[ [ ruleset | media | font_face ] [S|CDO|CDC]* ]*
5050
;
5151
import
5252
: IMPORT_SYM S*
@@ -58,13 +58,6 @@ media
5858
medium
5959
: IDENT S*
6060
;
61-
page
62-
: PAGE_SYM S* IDENT? pseudo_page? S*
63-
'{' S* declaration [ ';' S* declaration ]* '}' S*
64-
;
65-
pseudo_page
66-
: ':' IDENT
67-
;
6861
font_face
6962
: FONT_FACE_SYM S*
7063
'{' S* declaration [ ';' S* declaration ]* '}' S*
@@ -186,7 +179,6 @@ range \?{1,6}|{h}(\?{0,5}|{h}(\?{0,4}|{h}(\?{0,3}|{h}(\?{0,2}|{h}(\??|{h})))))
186179
"#"{name} {return HASH;}
187180

188181
"@import" {return IMPORT_SYM;}
189-
"@page" {return PAGE_SYM;}
190182
"@media" {return MEDIA_SYM;}
191183
"@font-face" {return FONT_FACE_SYM;}
192184
"@charset" {return CHARSET_SYM;}

0 commit comments

Comments
 (0)