Commit Graph

29510 Commits

Author SHA1 Message Date
Aidin Gharibnavaz
ea7185b2c6 Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn
2016-02-12 19:10:07 +03:30
ISHIKAWA, Chiaki
72d38a6835 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Jamie Nicol
eba27ea1c0 Bug 1241078 - Only treat items as backface hidden if they are 3D-transformed. r=tlee
Add helper function nsIFrame::In3DContextAndBackfaceIsHidden() which
checks both if a frame is backface-hidden and whether it is within a
3D-transform context.

In FrameLayerBuilder, check this function rather than BackfaceIsHidden()
to determine whether a frame needs a backface-hidden layer. This will
avoid creating unnecessary extra layers for non-3d-transformed items
which for some reason have backface-hidden set.
2016-02-08 22:34:13 +00:00
Matt Woodrow
55e0a78b72 Bug 1245450 - Only setup AutoSaveRestorePerspectiveIndex for the descendants of the element with perspective. r=roc 2016-02-15 23:21:52 +13:00
Jonathan Kew
93ca6ec060 Bug 1248248 - Don't break glyph run for orientation mismatch before a cluster-extender. r=xidorn 2016-02-15 09:07:53 +00:00
Jonathan Kew
b58e6e8feb Bug 1248248 - Reftest for variation selectors in vertical text with mixed (default) orientation. r=xidorn 2016-02-15 09:07:53 +00:00
Brian Birtles
0a93675372 Bug 1246046 part 2 - Add reftest for style updating for script-generated animations; r=heycam 2016-02-15 16:10:03 +09:00
Brian Birtles
78b13a5218 Bug 1246046 part 1 - Get the animation rule in nsStyleSet::GetContext even if there are no CSS animations; r=heycam
Without this patch, when we have script-generated animations but *no* CSS
animations, nsStyleSet::GetContext will not use the updated animation rule.
2016-02-15 16:08:33 +09:00
Matt Woodrow
a09a556cb4 Bug 1246622 - Handle nested preserve-3d contexts when hit testing. r=roc 2016-02-15 09:47:57 +13:00
Mats Palmgren
9188388e3b Bug 1216001 part 3 - Cache the result of IsSelected() for the duration of painting. r=bz 2016-02-13 18:40:23 +01:00
Mats Palmgren
5a47468411 Bug 1216001 part 0 - Allow a little bit of fuzz due to anti-aliasing in a few reftests. r=me 2016-02-13 18:40:23 +01:00
Bas Schouten
be6710f800 Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
MozReview-Commit-ID: EC8yhkvvood
2016-02-13 14:33:27 +01:00
L. David Baron
4e56f4f397 Bug 1247865 - Fix assertion to handle restyling of a table::after. r=birtles
I confirmed locally that this patch does fix the assertion in the
crashtest.

MozReview-Commit-ID: L1TIAZZ1aNu
2016-02-12 22:54:26 -08:00
L. David Baron
cede98c201 Bug 1247865 - Add crashtest for assertion. r=birtles
I confirmed locally that, without the following patch, the crashtest
harness does detect the single assertion.

MozReview-Commit-ID: FRkCdxSSa7V
2016-02-12 22:54:26 -08:00
Timothy Nikkel
cb722f4d52 Bug 1246443. Don't make nsLayoutUtils::MaybeCreateDisplayPort also set the displayport base anymore. r=botond
It's not obvious that it does this (unless you read the comment or the code), and we don't gain much by doing it.

Also we need to split it up for the next patch in this bug.
2016-02-12 16:58:34 -06:00
kearwood
362d7da296 Bug 1247082 - Suppress rendering of nsBackdropFrame for VR content r=dholbert
- The VR specific render path in ContainerLayerComposite does not
  handle nsBackdropFrame correctly, resulting in a alternate frame
  strobing effect in the Oculus Headset.  As VR content is composed
  of a Canvas element that is scaled to the extents of the surface,
  the backdrop would otherwise not have an effect for VR content,
  which means we can simply suppress the backdrop.

MozReview-Commit-ID: 3bCTOApiH8E
2016-02-12 11:14:05 -08:00
Kartikaya Gupta
f26f566ab1 Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: 6eYFmoOVL6b
2016-02-12 08:29:25 -05:00
Chris Peterson
1ade41ec65 Bug 1247533 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in layout/style/. r=dbaron
layout/style/nsStyleTransformMatrix.cpp:642:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:16:29 -08:00
Hiroyuki Ikezoe
5d2ac5ccb3 Bug 1228137 - Test that mouse events on the finished animation is surely fired on the animation element when the mouse events happen immediately after animation.finish() is called. r=birtles 2016-02-11 14:20:00 +01:00
Phil Ringnalda
ca73975f7f Back out 3 changesets (bug 1216001) for Win8 reftest failures in 1193519-sideways-lr-3.html and 1193519-sideways-lr-4.html and intermittent OS X failures in font-display-2.html
CLOSED TREE

Backed out changeset dbadb8fe5803 (bug 1216001)
Backed out changeset a30593ebd58e (bug 1216001)
Backed out changeset c1646ffa71b4 (bug 1216001)
2016-02-11 20:43:41 -08:00
Mats Palmgren
66da166b62 Bug 1216001 part 3 - Cache the result of IsSelected() for the duration of painting. r=bz 2016-02-12 02:13:57 +01:00
Wes Kocher
d520b17d80 Backed out changeset 19c631cc41c8 (bug 1243589) for test_transformed_scrolling_repaints.html failures on OS X 2016-02-11 16:34:28 -08:00
Matt Woodrow
a2bda84324 Bug 1224433 - Part 2: Clamp the invalidation rect to values that fit within nscoord. r=roc 2016-02-12 11:35:17 +13:00
Thinker K.F. Li
1d4bbc0f35 Bug 1224433 - Part 1: Add reftest. r=roc 2016-02-12 11:35:03 +13:00
Kartikaya Gupta
df9daecd40 Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: LHIrrtFfRgm
2016-02-11 16:49:04 -05:00
Matt Woodrow
cf93906bfb Bug 1216832 - Handle preserve-3d visible regions during display list building by always transforming from the preserve-3d root each time. r=roc 2016-02-12 00:18:55 +13:00
Bogdan Postelnicu
0c29d77913 Bug 1232635 - since presContext is always a valid pointer remove the useless null check that also confused Coverity. r=bz 2015-12-17 00:18:00 +01:00
Nicholas Nethercote
76c39b1744 Bug 1246846 (part 4) - Avoid nsTHashtable::RawRemoveEntry() in FramePropertyTable. r=roc. 2016-02-09 13:56:07 +11:00
Kartikaya Gupta
92d131a10a Bug 1245925 - Don't allow expiring the displayport on root scrollframes. r=tnikkel
MozReview-Commit-ID: 8LGsk9uKyL5
2016-02-10 17:11:28 -05:00
Andrew Halberstadt
cbedc045c0 Bug 1247054 - Fix |mach reftest| on Android, r=gbrown
There is an ImportError on Android, as well as a log related
regression from the structured log patch once that is fixed.

MozReview-Commit-ID: KxSEotr38qO
2016-02-09 16:19:44 -05:00
Kartikaya Gupta
ce22853404 Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Ting-Yu Lin
90ef1eae6a Bug 1246185 - Do not collapsed <details> when preference off. r=bz
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.
2016-02-09 14:07:01 +08:00
Carsten "Tomcat" Book
066295b068 Bug 1243583 - ensure transition events are dispatched to all the relevant subdocuments, r=dholbert 2016-02-10 14:21:26 +01:00
Carsten "Tomcat" Book
60fb586e57 Bug 1244250 - r=mats 2016-02-10 14:17:05 +01:00
Eddy Bruel
6142f35ea1 Bug 1212333 - WorkerDebuggerManager should live on the main thread;r=khuey 2016-02-10 10:45:02 +01:00
Carsten "Tomcat" Book
2bf871857a Backed out changeset a9e7c8584256 (bug 1232635) for test failures in reftest crashtest-e10s 2016-02-10 10:11:03 +01:00
Bogdan Postelnicu
bbe886beb3 Bug 1246892 - pass aCTF as a reference instead of value. r=roc 2016-02-09 12:00:59 +02:00
Bogdan Postelnicu
9b110ce167 Bug 1232635 - since presContext is always a valid pointer remove the useless null check that also confused Coverity. r=bz 2015-12-17 00:18:00 +01:00
Trevor Saunders
7407d1ba03 bug 1246772 - work around x87 floating point truncation issues in gecko r=dholbert
test_value_storage.html needs floating point numbers to round trip through css
parsing and serialization, but floating point isn't exact so we should be
careful what numbers we test.  It turns out the value 0.9 the test was using is
close to the border between 229 and 230 when converted to an 8 bit int, but 0.8
is safer so change to that since the test doesn't depend on the value.  Note
that this does not fix the issue that numbers don't always round trip, but only
wall papers over it by changing the test.
2016-02-10 00:10:56 -05:00
Jet Villegas
bbdff60430 Merged changes 2016-02-09 17:05:59 -08:00
Jet Villegas
54183c3115 Bug 974309: Fixes the IsEditable() logic for table cells. r=ehsan 2016-02-09 14:06:03 -08:00
Matt Woodrow
4917fd5e7a Bug 1243409 - Always recompute geometries for inactive layers since we can't easily tell if they will be identical. r=roc 2016-02-09 16:05:20 +13:00
Robert O'Callahan
6a29919f48 Bug 1194466. Use the table-outer frame's margin when requesting the margin for table element with getBoxQuads. r=mats 2016-02-02 22:47:15 +13:00
Dirk Schulze
d884a54dd4 Bug 1075457, part 2 - Implement circle() and ellipse() for the |clip-path| property. r=mstange, r=jwatt 2016-02-08 22:09:08 +00:00
Dirk Schulze
a6e76ae846 Bug 1075457, part 1 - Implement rendering for |clip-path:polygon()|. r=mstange, r=jwatt 2016-02-08 22:08:09 +00:00
Andrew Halberstadt
d3c6e5da3f Bug 1034290 - Follow-up fix for reftest error message when application returns non-zero, r=chmanchester
MozReview-Commit-ID: JpHzDSuSQqH
2016-02-08 14:54:23 -05:00
Mats Palmgren
34a9f755ca Bug 1246101 - Restore some auto-completion for the align-/justify-* properties. r=dholbert 2016-02-08 17:35:01 +01:00
Mats Palmgren
4d039d6c23 Bug 1246405 - Declare mTextRun earlier to avoid alignment spill on 64-bit architectures. r=roc 2016-02-08 17:35:01 +01:00
Andrew Halberstadt
b8149ff9de Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7
2016-02-05 15:44:20 -05:00
Ting-Yu Lin
1cd5cc8dd9 Bug 1246064 - Support long press to show AccessibleCaret on empty input for Fennec. r=roc 2016-02-08 16:08:46 +08:00