Patrick Walton
4b9cd4e65d
layout: Implement <table width>
and <center>
.
...
Improves Hacker News.
2015-05-11 12:53:45 -07:00
Patrick Walton
79336d21b5
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.
2015-04-24 17:33:53 -07:00
Patrick Walton
7371e0b8e3
compositing: Implement cursor
per CSS3-UI § 8.1.1 in the CEF/Mac port.
...
I'm not sure how we want to handle Linux cursors, and GLFW has no
ability to set cursors (short of disabling it and managing it yourself).
2014-12-17 22:58:52 -08:00
Matthew Rasmus
504f968b20
Implements :indeterminate pseudo-class
...
Addresses reviews
2014-12-16 11:34:04 -08:00
Matthew Rasmus
1b84bd22b8
Implements the :checked pseudo-class for inputs
...
Relevant spec:
https://html.spec.whatwg.org/multipage/scripting.html#selector-checked
Also modifies HTMLInputElement::SetChecked to no longer modify its
checked content value, instead making use of its internal checkedness
state now that we can match `:checked` properly.
2014-12-08 08:40:15 -08:00
Matthew Rasmus
e520cfd86b
servo.css: Style <button> like <input type=button>
2014-12-07 13:00:04 -08:00
Matthew Rasmus
29241699fd
Implements multi line text input for TextArea
2014-12-05 12:21:31 -08:00
donaldpipowitch
033992348c
wide form buttons fixes #3972
2014-11-18 12:16:17 +01:00
Patrick Walton
5f8d3f72d8
layout: Introduce support for legacy presentational attributes to selector
...
matching, and use it for `<input size>` and `<td width>`.
This implements a general framework for legacy presentational attributes
to the DOM and style calculation, so that adding more of them later will
be straightforward.
2014-10-14 12:44:09 -07:00
Simon Sapin
68b11a4447
Update reftests for UA stylesheet changes.
2014-10-13 12:38:07 +01:00
Simon Sapin
e9ebfb74fc
Rewrite the user-agent stysheet(s)
...
Based on https://html.spec.whatwg.org/multipage/rendering.html
rather than http://dev.w3.org/csswg/css2/grammar.html
2014-10-10 17:27:38 +01:00