Merge pull request #2688 from schaars/noscript

Do not display noscript element
This commit is contained in:
Simon Sapin 2014-06-21 15:08:49 +02:00
commit 1e263f9dec
5 changed files with 13 additions and 2 deletions

View file

@ -276,7 +276,7 @@ DEPS_style = $(CRATE_style) $(SRC_style) $(DONE_SUBMODULES) $(DONE_util) $(DONE_
RFLAGS_servo = $(strip $(CFG_RUSTC_FLAGS)) $(addprefix -L $(B)src/,$(DEPS_SUBMODULES)) -L $(B)src/components/gfx -L $(B)src/components/util -L $(B)src/components/net -L $(B)src/components/script -L $(B)src/components/style -L $(B)src/components/msg -L$(B)src/components/macros
SRC_servo = $(call rwildcard,$(S)src/components/main/,*.rs)
SRC_servo = $(call rwildcard,$(S)src/components/main/,*.rs) $(S)src/components/main/css/user-agent.css
CRATE_servo = $(S)src/components/main/servo.rs
DEPS_servo = $(CRATE_servo) $(SRC_servo) $(DONE_SUBMODULES) $(DONE_util) $(DONE_gfx) $(DONE_script) $(DONE_net) $(DONE_msg) $(DONE_style) $(DONE_macros)

View file

@ -7,7 +7,7 @@ h1, h2, h3, h4,
h5, h6, noframes,
center, dir,
hr, menu, pre { display: block; unicode-bidi: embed }
head { display: none }
head, noscript { display: none }
table { display: table }
tr { display: table-row }
thead { display: table-header-group }

View file

@ -78,3 +78,4 @@
== overconstrained_block.html overconstrained_block_ref.html
== position_fixed_background_color_a.html position_fixed_background_color_b.html
== position_fixed_overflow_a.html position_fixed_overflow_b.html
== noscript.html noscript_ref.html

View file

@ -0,0 +1,5 @@
<html>
<body>
Text <noscript>Noscript</noscript> Final.
</body>
</html>

View file

@ -0,0 +1,5 @@
<html>
<body>
Text Final.
</body>
</html>