Josh Matthews
f70bb68503
Implement simple layout for text, button, radio, and checkbox inputs. Implement simple interaction for checkboxes and radio buttons.
2014-10-01 15:35:42 -04:00
Glenn Watson
52c5007b07
Add support for <super> and <sup> tags. Fixes equations on wikipedia.
2014-09-30 07:12:54 +10:00
Simon Sapin
b3245fa407
Upgrade to rustc d2b30f7d3 2014-09-23
2014-09-29 17:41:45 +01:00
Glenn Watson
71758643dc
Remove unneeded clones and add some comments.
2014-09-27 13:51:10 +10:00
Glenn Watson
cf79e64a5a
Improve acid2. Fix line height calculation. Text fragments get correct enclosing element style.
...
* Enabled acid2 on mac + linux. Updated the reference image. The only difference from the
real acid2 now is the paint order and a 1 pixel horizontal offset on the nose.
* Change line-height to be calculated correctly.
* Apply enclosing element style to text fragments.
2014-09-26 17:12:22 +10:00
Patrick Walton
9aacd4c10c
layout: Implement white-space: nowrap
.
...
Improves the Reddit header.
2014-09-23 15:47:45 -07:00
Keegan McAllister
dc86e83654
Eliminate warnings
2014-09-20 13:00:55 -07:00
Patrick Walton
39d7bf93d6
layout: Make percentage heights propagate through inline flows.
...
I found this random bug during an attempt to improve Wikipedia.
2014-09-19 17:20:56 -07:00
Simon Sapin
010d87b93e
Remove min/max functions from util::geometry. Use std::cmp instead.
2014-09-19 13:56:35 +01:00
Matt Brubeck
f35941d91d
Fix line splitting in white-space: pre
flows
...
The newline position from one line was getting used repeatedly, causing extra
"phantom" newlines in the following lines. Fixes #3413 .
2014-09-18 14:25:12 -07:00
Glenn Watson
98624c9576
Implement basic support for display: inline-block.
...
This still needs a lot of work, but it covers the basic
cases and improves wikipedia while passing all existing tests.
Tweak reftest to deal with linux/travis black background.
2014-09-13 07:13:42 +10:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00