Commit Graph

17131 Commits

Author SHA1 Message Date
Avi Halachmi
8690f6200c Bug 856427: Add vsync support at the refresh driver (Windows DWM). r=vlad 2013-05-29 13:31:16 +03:00
Simon Sapin
36da360d2c Bug 875287 - font-family: Do not require whitespace between unquoted idents. r=dbaron
When 'font-family' is secified with unquoted identifiers rather than a quoted string, a single space should be inserted between identifier tokens, even if they are separated by a comment rather than a whitespace token.
2013-05-30 08:10:02 -04:00
Cameron McCormack
2326c16589 Bug 877575 - Don't force mPositions to be recomputed inside nsSVGTextFrame2::ReflowSVG. r=jwatt 2013-05-30 18:34:59 +10:00
Jonathan Watt
56c99c99f4 Bug 827915 - Get rid of SVG's own invalidation mechanisms and rely on DLBI instead. r=dholbert 2013-05-30 09:28:13 +01:00
L. David Baron
b31121a2a1 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
Cameron McCormack
c18b9f7a1a Bug 877035 - Remove nsSVGTextFrame2::UpdateGlyphPositioning's aForceGlobalTransform argument and look at mGetCanvasTMForFlag instead. r=longsonr 2013-05-30 17:53:07 +10:00
Cameron McCormack
fcf5c02af5 Bug 877029 - Add a crashtest for calling nsSVGMarkerFrame::GetCanvasTM() inappropriately. r=longsonr 2013-05-30 17:48:15 +10:00
Robert O'Callahan
0cd25518d1 Bug 872254. Clear line/row cursors when overflow areas of lines or table rows change. r=bz
--HG--
extra : rebase_source : 81c1c4269e22ffad98433669ef152002b9d63533
2013-05-30 16:44:37 +12:00
Matt Woodrow
d9dcc3425f Bug 877516 - Add MOZ_DUMP_INVALIDATION to enable invalidation logging. r=roc 2013-05-30 14:43:43 +12:00
Matt Woodrow
237b50e71a Bug 877516 - Extend MOZ_REFTEST_VERBOSE to also send log messages synchronously. r=roc 2013-05-30 14:43:01 +12:00
Matt Woodrow
0d5f8e14b1 Bug 869133 - Recycle the ImageLayers created by nsDisplayImage/nsDisplayBackgroundImage instead of recreating them each time. r=roc 2013-05-30 14:42:28 +12:00
Cameron McCormack
a46f56dda8 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
David Zbarsky
cab7c337c7 Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Cosmin Clapon
71f548c423 Bug 764996 - Reftests. r=karlt 2013-05-29 19:26:41 -04:00
Cosmin Clapon
f079a61774 Bug 764996 - Determine directionality. r=karlt 2013-05-29 19:26:40 -04:00
Cosmin Clapon
15d861e7f3 Bug 764996 - Dir attribute mapping. r=karlt 2013-05-29 19:26:40 -04:00
Timothy Nikkel
e6710aa1e3 Bug 877458. Bullet frame should honour the sync decode images flag. r=matt.woodrow 2013-05-29 18:23:31 -05:00
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Boris Zbarsky
1c76a8045c Bug 876725. Make use of IDL default string values in CSSStyleDeclaration to simplify the code. r=smaug 2013-05-29 16:15:50 -04:00
Arnaud Sourioux
8795dbd54b Bug 875367 followup: Manually annotate ScrollSelectionIntoView and RepaintSelection in nsPresShell.h as MOZ_OVERRIDE. r=dholbert 2013-05-29 12:37:50 -07:00
Arnaud Sourioux
043b0fd84c Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Chris Lord
2905deaf71 Bug 803299 - Even more fuzzing for 24bpp/Android. r=blassey CLOSED TREE
Add some extra fuzzing that I think got lost in a rebase to silence some
intermittent failures.
2013-05-29 18:18:06 +01:00
Ralph Giles
92d30af9b2 Bug 875305 - Replace slow webvtt caption selectors with classes. r=bz
We set the class caption-box class on the anonymous div which
acts as the parent container for the captions overlayed on
the video frame.

caption-text isn't currently used, but will be applied to
child elements by when bug 833382 lands.
2013-05-28 13:55:00 -07:00
Chris Lord
57ab118f22 Bug 803299 - Some SVG tests need more fuzzing on Android with 24bpp. r=jwatt
--HG--
extra : rebase_source : b8fcf2a8673d43b6c946a756d2a290553d06fd21
2013-05-29 15:26:40 +01:00
Chris Lord
7f4d4699cf Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey
--HG--
extra : rebase_source : 75c2dc44bc3a8167b1699ab24da20c67075a182a
2013-05-29 15:26:37 +01:00
Chris Lord
f908b18bd3 Bug 803299 - More tests pass on Android with 24-bit colour. r=blassey
Tests that were marked as failing now pass with increased colour depth.

--HG--
extra : rebase_source : 620739d5cdd1bb227f51a5cc985e16cd8dfa06f9
2013-05-29 15:26:34 +01:00
L. David Baron
6dd6e81635 Bug 864686: Make reftest harness print test URL when there is one. r=heycam
I think the case in this bug is the RecvException case.
2013-05-29 16:06:35 +08:00
Daniel Holbert
b005a90064 Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz 2013-05-21 12:15:57 -04:00
L. David Baron
07bcc6b3a9 Bug 815408: Ignore CSS transitions and animations in print and print preview. r=bzbarsky
Note that this patch has a little bit of a belt-and-braces aspect to it.
In each file, either one of the changes should be sufficient, but one of
them prevents us from doing unneeded work and the other one ensures that
we never apply style resulting from transitions and animations even if
somehow we do that work.

Also note that the tests don't actually test anything usefully, since
the reftest harness doesn't currently make the pres context non-dynamic.
(Thus they're marked as failing.)  I'm not sure what I should do about
that, though I'm considering just deleting the tests entirely.
2013-05-29 14:36:39 +08:00
L. David Baron
817f7af583 Bug 876570: Add missing UngetToken() call in an+b microsyntax parsing. r=bzbarsky 2013-05-29 14:36:39 +08:00
André Reinald
fe9b343359 Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Joshua Cranmer
690a2de322 Bug 876701 - Static analysis failure in nsMathMLsemanticsFrame.h, r=karlt 2013-05-28 22:20:44 -05:00
Trevor Saunders
4a839150dd backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
fab7acd9b9 Bug 803299 - Some SVG tests need more fuzzing on Android with 24bpp. r=jwatt 2013-05-28 18:50:17 +01:00
Chris Lord
b7ad6dc419 Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey 2013-05-28 18:50:17 +01:00
Chris Lord
f93511ae53 Bug 803299 - More tests pass on Android with 24-bit colour. r=blassey
Tests that were marked as failing now pass with increased colour depth.
2013-05-28 18:50:17 +01:00
Timothy Nikkel
dfb5696db1 Bug 876630. The async widget release is no longer needed in nsComboBoxFrame because the view subsystem now does the widget destroy async. r=mats 2013-05-28 12:27:36 -05:00
Daniel Holbert
47db2ab059 Bug 876074: Soften flexbox assertion about out-of-order children, since it's not dangerous and it can be triggered by unrelated-to-flexbox tree mutations. r=bz 2013-05-28 09:39:02 -07:00
Robert O'Callahan
898e42dd83 Bug 876426. Part 1: Fire 'resizevideocontrols' event on video controls element when the element's size is changed. r=mattwoodrow 2013-05-28 17:00:59 +12:00
Ed Morley
21df7784d4 Backed out changeset bb46fe25304b (bug 803299) 2013-05-28 14:45:30 +01:00
Ed Morley
6ea885a68e Backed out changeset 8a713f374b1b (bug 803299) 2013-05-28 14:45:24 +01:00
Ed Morley
9b6ceec757 Backed out changeset 1b3d30cfce65 (bug 803299) 2013-05-28 14:45:19 +01:00
Chris Lord
c5a7e4922a Bug 803299 - Some SVG tests need more fuzzing on Android with 24bpp. r=jwatt 2013-05-28 14:22:15 +01:00
Chris Lord
31bdb1a34e Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey 2013-05-28 14:22:11 +01:00
Chris Lord
821c52d1cc Bug 803299 - More tests pass on Android with 24-bit colour. r=blassey
Tests that were marked as failing now pass with increased colour depth.
2013-05-28 14:22:08 +01:00
Ed Morley
0a9e684f5e Backed out changeset 9395a7b2e54c (bug 876426) for crashtest timeouts on a CLOSED TREE 2013-05-28 08:50:53 +01:00
Robert O'Callahan
fc5da57107 Bug 876426. Part 1: Fire 'resize' event on video controls element when the element's size is changed. r=mattwoodrow 2013-05-28 17:00:59 +12:00
L. David Baron
bbcd59d515 Additional tests for bug 750388. No review. 2013-05-28 12:12:06 +08:00
Thomasy
a58861a388 Bug 750388: In an+b microsyntax in :nth-child() etc., allow starting with +n and allow comments at all token boundaries rather than requiring the strange tokens that result from lack of comments or spaces. r=dbaron 2013-05-28 12:12:06 +08:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00