Commit Graph

3920 Commits

Author SHA1 Message Date
Frédéric Wang
d55876613a Bug 717546 - Add reftest. r=karlt 2013-04-17 07:47:09 -04:00
Cameron McCormack
eb98cff2f3 Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited values. r=longsonr 2013-04-16 16:43:28 +10:00
Ryan VanderMeulen
031c884a96 Merge m-c to inbound. 2013-04-16 08:05:10 -04:00
Ms2ger
4546c52c30 Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE. 2013-04-16 11:40:41 +02:00
Cameron McCormack
c309f38e81 Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE) 2013-04-16 18:28:21 +10:00
Cameron McCormack
e7dadc8ca0 Bug 862154 - Fix paint-order-02.svg to work with svg.text.css-frames.enabled=true. r=longsonr 2013-04-16 16:43:29 +10:00
Cameron McCormack
cd8836d173 Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited implied values. r=longsonr 2013-04-16 16:43:28 +10:00
Michael Wu
4914177dc1 Bug 840315 - Change default serif and sans serif fonts on gonk, r=jfkthame a=blocking-leo 2013-04-15 23:00:08 +02:00
Cameron McCormack
6ea8368c33 Bug 839956 - Size and position text decorations on SVG text correctly when a font size scale factor is in effect. r=roc 2013-04-13 13:16:22 +10:00
Robert O'Callahan
bc7d984a44 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Daniel Holbert
54ba81be1d Bug 851379, part 3: Add reftest with percent-valued vertical margin & padding on flex items. r=mats 2013-04-11 07:51:55 -07:00
Cameron McCormack
e7b3448f80 Bug 860370 - Undo functionality change from bug 848973. r=roc 2013-04-11 18:40:12 +10:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Robert O'Callahan
a7bc9f4f3c Bug 858803. Fix coordinate system of subdocument frame bounds. r=mattwoodrow
--HG--
extra : rebase_source : 3fd0436f141542dcf50f318a47670329c9c7a814
2013-04-10 00:30:51 +12:00
Simon Montagu
d5292afd50 The test for bidi isolated subparagraphs should be > 0, not > 1. Bug 859093, r=roc 2013-04-08 23:25:34 -07:00
Seth Fowler
030590cc40 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
--HG--
extra : rebase_source : 7abecbcfcda5666e6b23895dbf6cd42991044914
2013-04-05 14:14:37 -07:00
Daniel Holbert
7979ce802f Bug 858684: Remove HTTP(..) annotation from flexbox reftests (which only needed it for font access). r=billm 2013-04-05 12:52:30 -07:00
Nathan Froyd
e1b613b8ca Bug 858203 - mark more reftests as needs-focus; r=dholbert
1. Start headless X server.  Start basic window manager on it.
2. Run reftests with said X server.  Take note of failing tests.
3. Disable all reftests that need focus:

   find $topsrcdir -name '*.list' | xargs sed -i -e '/needs-focus/s/^/#/'

4. Make reftest.js:Focus never focus the window and always return true.
5. Start reftests with said X server again.  Once the tests begin
   running, start a xterm on the same X server.  The window manager will
   focus this xterm and will not return focus to the browser.
6. Compare now-failing tests with baseline.  Mark all such tests as
   needs-focus.

Comments on specific tests:

editor/reftests/
- spellcheck-input-ref.html and spellcheck-textarea-ref.html focus
  input elements and don't work right without the window having focus.
- spellcheck-hyphen-invalid-ref.html and
  spellcheck-hyphen-multiple-invalid-ref.html use @autofocus on
  textarea.
- 674212-spellcheck.html, 338427-2.html, and
  462758-grabbers-resizers.html all wait for onfocus for div elements.

layout/reftests/bugs/
- 652301-1b.html focuses a bogus element with an onfocus handler.

layout/reftests/selection/
- pseudo-element-of-native-anonymous-ref.html .select()s an <input>.
2013-04-04 15:02:30 -04:00
Robert O'Callahan
04e9887192 Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
6709e4eafc Bug 841192. Part 1: Make <frame> elements behave more like <iframe>s, in particular supporting padding and borders (but not border-radius). r=mats
--HG--
extra : rebase_source : b49a430b7a54bc0579f4f109afa001634a2b8930
2013-04-03 00:03:03 +13:00
Scott Johnson
0ba930f4d9 Bug 520992: Adjust computed width and height before returning to account for box-sizing. [r=bz] 2013-04-04 09:00:07 -05:00
Mounir Lamouri
a42dcdd17f Bug 857536 - Cleanup the CSS properties applied on <input type='file'> from forms.css. r=bz 2013-04-04 10:39:29 +01:00
Seth Fowler
4aca9d64d3 Bug 811403 Followup - Disable inequality test on platforms with scrollbars to fix Android reftest failures on a CLOSED TREE.
--HG--
extra : amend_source : bc2b5cf8633a7702e40d5f475fda54e1d10b849f
2013-04-01 19:39:01 -07:00
Seth Fowler
5836f7f66e Bug 811403 (Part 2) - Tests for viewport unit interactions with overflow values of scroll and auto. r=dbaron 2013-04-01 17:03:00 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Robert Longson
424a479691 Bug 398825 - Implement selectSubString. r=heycam
--HG--
rename : content/svg/content/test/test_getSubStringLength.xhtml => content/svg/content/test/test_selectSubString.xhtml
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString.svg
2013-04-01 10:43:38 +01:00
Daniel Holbert
e3480c76f6 Bug 785468: Compute flex container's baseline as-described in the spec. r=dbaron 2013-03-29 18:32:08 -07:00
Bobby Holley
5ff368df12 Bug 856127 - Override the override. r=bz 2013-03-29 18:13:52 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mounir Lamouri
8d952d99ee Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-29 12:32:47 +00:00
Ryan VanderMeulen
541c7cafe0 Backed out changeset fa9cde226b2a (bug 839788) for breaking mochitests the same way it did the first time it landed on a CLOSED TREE. 2013-03-28 21:17:42 -04:00
Mounir Lamouri
aa5643ad17 Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Ryan VanderMeulen
3f7ca54cce Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE. 2013-03-28 08:49:04 -04:00
Mounir Lamouri
83edc3d65a Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Daniel Holbert
5225ba3097 Bug 848539 part 7: Fix or disable reftests that depend on min-width:auto / min-height:auto. r=dbaron 2013-03-27 23:33:20 -07:00
Daniel Holbert
ad0dde7ba7 Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron 2013-03-27 23:33:19 -07:00
Jonathan Watt
df50dd8f1a Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +00:00
Mounir Lamouri
7ebd58f495 Bug 839787 - Test the new <input type='file'> rendering. r=bz 2013-03-27 11:27:31 +00:00
Daniel Holbert
cdb46fbf89 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00
Cameron McCormack
a78fe4a6d7 Bug 844683 - Prevent scoped-style-pseudo-00[12].html from failing when :scope is disabled. r=philor 2013-03-25 17:15:18 +11:00
Bobby Holley
9fa1540293 Bug 854019 - Continue checking the XBL bit if remote XUL disables XBL scopes. r=bz 2013-03-24 09:27:10 -07:00
Mats Palmgren
3db9895bc1 Backout rev 85397e0a6dba - wrong patch. r=me 2013-03-23 21:45:53 +01:00
Mats Palmgren
1f8322a617 Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky 2013-03-23 21:10:34 +01:00
Seth Fowler
e740b4d547 Bug 703806 - Restore random-if that was removed by bug 704059, since the problem doesn't seem to be fixed. r=me 2013-03-22 13:35:48 -07:00
Daniel Holbert
cb76c70c9d Bug 782441 part 3: Reftests for flex containers with "overflow:hidden|scroll|auto". r=bz 2013-03-22 08:13:50 -07:00
Ryan VanderMeulen
ad2c69e858 Bug 853273 - Annotate 456219-1a/1b.html as well. 2013-03-21 13:23:27 -04:00
Ryan VanderMeulen
421a2f6a03 Bug 853273 - Add missing space. 2013-03-20 22:24:33 -04:00
Ryan VanderMeulen
8a53315a2f Bug 853273 - Mark test as fuzzy on Windows 7. 2013-03-20 21:26:01 -04:00
Jim Mathies
84b820b84b Bug 852651 - Fix for scale3d-all and scale3d-all-separate failing on inbound in Win8. r=bbondy 2013-03-20 12:41:35 -05:00