diff options
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | src/components/main/css/user-agent.css | 2 | ||||
-rw-r--r-- | src/test/ref/basic.list | 1 | ||||
-rw-r--r-- | src/test/ref/noscript.html | 5 | ||||
-rw-r--r-- | src/test/ref/noscript_ref.html | 5 |
5 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index e9ea6748d04..712fab9253c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) diff --git a/src/components/main/css/user-agent.css b/src/components/main/css/user-agent.css index b8bf8442995..d73560abe0e 100644 --- a/src/components/main/css/user-agent.css +++ b/src/components/main/css/user-agent.css @@ -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 } diff --git a/src/test/ref/basic.list b/src/test/ref/basic.list index 1b86220be0d..68670ec1cdd 100644 --- a/src/test/ref/basic.list +++ b/src/test/ref/basic.list @@ -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 diff --git a/src/test/ref/noscript.html b/src/test/ref/noscript.html new file mode 100644 index 00000000000..08de375d619 --- /dev/null +++ b/src/test/ref/noscript.html @@ -0,0 +1,5 @@ +<html> +<body> +Text <noscript>Noscript</noscript> Final. +</body> +</html> diff --git a/src/test/ref/noscript_ref.html b/src/test/ref/noscript_ref.html new file mode 100644 index 00000000000..51a30707875 --- /dev/null +++ b/src/test/ref/noscript_ref.html @@ -0,0 +1,5 @@ +<html> +<body> +Text Final. +</body> +</html> |