mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
style: Disregard the size
attribute for input elements other than text
or password fields. HTML5 § 4.10.5.3.2 doesn't explicitly say to do this, but all other browser engines seem to do it. Improves the Google home page.
This commit is contained in:
parent
211ee668fa
commit
79336d21b5
5 changed files with 35 additions and 18 deletions
|
@ -179,6 +179,7 @@ flaky_cpu == append_style_a.html append_style_b.html
|
|||
# inline_text_align_a.html inline_text_align_b.html
|
||||
== inline_whitespace_a.html inline_whitespace_ref.html
|
||||
== inline_whitespace_b.html inline_whitespace_ref.html
|
||||
== input_button_size_a.html input_button_size_ref.html
|
||||
!= input_height_a.html input_height_ref.html
|
||||
== inset.html inset_ref.html
|
||||
!= inset_blackborder.html blackborder_ref.html
|
||||
|
|
9
tests/ref/input_button_size_a.html
Normal file
9
tests/ref/input_button_size_a.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<input type=submit size=100 value=sumbit>
|
||||
</body>
|
||||
</html>
|
||||
|
9
tests/ref/input_button_size_ref.html
Normal file
9
tests/ref/input_button_size_ref.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<input type=submit value=sumbit>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue