Commit Graph

392712 Commits

Author SHA1 Message Date
Botond Ballo
751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
c854025367 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Douglas Crosher
3425fffc61 Bug 1021367 - Assertion failure in GetShaderConfigFor. r=nical 2014-06-09 20:10:28 +10:00
Jon Coppeard
5746f80c02 (no bug) Update count of GC reasons in comment DONTBUILD 2014-11-13 13:43:17 +00:00
Jonathan Kew
691269b97a Bug 1094434 - Reftests for display of resizer on vertical-lr and vertical-rl textareas. r=roc 2014-11-13 09:12:53 +00:00
Jonathan Kew
612145b71e Bug 1094434 - Render resizer appropriately for vertical-lr and vertical-rl writing modes. r=roc 2014-11-13 13:24:00 +00:00
Jonathan Kew
2c2899d58e Bug 1084370 - Fix handling of vertical-align in lines with vertical writing mode. r=smontagu 2014-11-13 12:58:30 +00:00
Jacek Caban
c9ee1b658a Bug 1094141 - Don't export skia APIs from xul.dll. r=glandium 2014-11-13 13:09:48 +01:00
Carsten "Tomcat" Book
4916e71e91 Backed out changeset e36492ae23a6 (bug 1094434) for Android Reftest Failures on a CLOSED TREE 2014-11-13 12:04:06 +01:00
Carsten "Tomcat" Book
3649cb2cd1 Backed out changeset 13167bb74be0 (bug 1094434) 2014-11-13 12:03:23 +01:00
Carsten "Tomcat" Book
b7f71a3e33 Backed out changeset b1f8365b8a92 (bug 1081038) for dt Test Failures on a CLOSED TREE 2014-11-13 11:48:21 +01:00
Carsten "Tomcat" Book
c969ca2647 Backed out changeset 9243c59c3e56 (bug 1081038) 2014-11-13 11:48:00 +01:00
Carsten "Tomcat" Book
8894f4319e Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Jan Varga
ea37e37e95 Bug 1095474 - Intermittent /indexedDB/test/test_file_replace.html | application terminated with exit code 1; r=bent 2014-11-13 10:43:22 +01:00
Jonathan Kew
1b048b4316 Bug 1094434 - Reftests for display of resizer on vertical-lr and vertical-rl textareas. r=roc 2014-11-13 09:12:53 +00:00
Jonathan Kew
dbeb458ff7 Bug 1094434 - Render resizer appropriately for vertical-lr and vertical-rl writing modes. r=roc 2014-11-13 08:58:06 +00:00
Jonathan Kew
5182bb2e02 Bug 1093553 - Followup to fix positioning of the caret with writing-mode:vertical-lr and text-orientation:sideways-right. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
34fea182cd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
e27a2da74c Bug 1090159 - Reftest for erratic baseline in vertical-rl mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
257b729bc8 Bug 1090159 - Correct baseline alignment in vertical-rl writing mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
1dc8cfa43b Bug 1091058 - Reftest for underlining of vertical writing-mode spans. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
e1255310b1 Bug 1091058 - Fix positioning of text-decoration lines in vertical writing mode. r=smontagu 2014-11-13 08:58:05 +00:00
Jonathan Kew
0a0ca18b1f Bug 1090168 - Reftests for textBaseline support in <canvas> vertical writing-mode text. r=jdaggett 2014-11-13 08:58:05 +00:00
Jonathan Kew
92a78b6d76 Bug 1090168 - part 2 - Adjust initial value of textBaseline depending on writing-mode and text-orientation properties. r=jdaggett 2014-11-13 08:58:04 +00:00
Jonathan Kew
02d6b51ec6 Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett 2014-11-13 08:58:04 +00:00
Jonathan Kew
f97a6b6a7d Bug 1093165 - Include the text-orientation value in WritingMode, and add the IsSideways flag for baseline decisions. r=smontagu 2014-11-13 08:58:04 +00:00
Jonathan Kew
ae4c472fad Bug 1088025 - Reftest for positioning of lines within paragraphs in a vertical-rl block. r=dbaron 2014-11-13 08:58:04 +00:00
Jonathan Kew
5de4d98d5c Bug 1088025 - part 2 - Fix up block-dir position of lines in a vertical-rl block once we know the final block size (container width) needed to map to physical coordinates. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew
1bdefeee1e Bug 1088025 - part 1 - Ensure nsBlockReflowState has a constrained mContainerWidth before we reflow lines into the container. r=dbaron 2014-11-13 08:58:03 +00:00
Jonathan Kew
c02ad81b73 Bug 1089581 - Convert nsLineBox::SlideBy to use logical coordinates. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
c2e1350336 Bug 1089388 - Reftests for nsBlockFrame::SlideLine in vertical writing modes. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
c8bcdce921 Bug 1089388 - Followup to add a LogicalPoint version of nsIFrame::MovePositionBy, and use this in SlideLine. r=smontagu 2014-11-13 08:58:03 +00:00
Jonathan Kew
150a68da5c Bug 1089388 - Convert nsBlockFrame::SlideLine to use logical coordinates. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
5922ab8a63 Bug 1094914 - Reftest for margins and writing-mode of an inline block. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
6f8bff7661 Bug 1094914 - part 2 - Store margins and borders using line's writing mode in perFrameData, to avoid writing-mode conversions. r=smontagu 2014-11-13 08:58:02 +00:00
Jonathan Kew
a2a1b29517 Bug 1094914 - part 1 - Don't confuse frame and line writing-modes in nsLineLayout. r=smontagu 2014-11-13 08:58:02 +00:00
Gabor Krizsanits
beb54125e8 Bug 1081038 - part 2: Removing nsAutoMicroTask where we have AutoEntryScript. r=bholley 2014-11-13 09:50:15 +01:00
Gabor Krizsanits
a6f3398faa Bug 1081038 - part 1: Microtask in AutoEntryScript. r=bholley 2014-11-13 09:50:12 +01:00
L. David Baron
7cff21024e Bug 1086937 patch 3 - Add test for animations continuing across a user font set update. r=birtles
I confirmed that without patch 2, the third and fourth tests fail
(reporting -1000px), whereas with the patches all 4 tests pass.
2014-11-12 23:28:52 -08:00
L. David Baron
5fc1b3d275 Bug 1086937 patch 2 - Use eRestyle_ChangeAnimationPhaseDescendants to get the right style data in RestyleManager::RebuildAllStyleData. r=birtles
Until we get rid of animation phases in bug 960465, we need to ensure
we're producing style data for the correct animation phase.  This makes
this optimization slightly less beneficial until then.
2014-11-12 23:28:52 -08:00
L. David Baron
0c5741e2ef Bug 1086937 patch 1 - Add eRestyle_ChangeAnimationPhaseDescendants restyle hint that is like eRestyle_ChangeAnimationPhase, but for a whole subtree. r=birtles 2014-11-12 23:28:52 -08:00
L. David Baron
70fce093ea Bug 1086937 patch 0 - Add missing null check of root element so this patch series doesn't expose a crash in layout/style/crashtests/472237-1.html . r=birtles 2014-11-12 23:28:52 -08:00
Ralph Giles
95437b59b2 Bug 1097849 - Enforce sane audio sample rates in MediaEncoder. r=derf
We believe the rate is constrained by the audio driver in practice,
but want to verify this assumption. The valid range 8-192 kHz covers
all sample rates in general use for audio data.

Note we must use an error return instead of an assertion since these
bounds are verified by unit tests, which do not catch MOZ_ASSERT().
2014-11-12 11:03:00 -08:00
Jean-Yves Avenard
a40abbc6eb Bug 1097260 - Ensure video dimensions are known when loadedmetadata is fired. r=cajbir 2014-11-12 20:19:29 +11:00
Jan-Ivar Bruaroey
cfdeb0d0fa Bug 1097224 - Part 3 - test mozCaptureStream over peerConnection. r=jesup, r=drno 2014-11-13 00:59:22 -05:00
Jan-Ivar Bruaroey
ccb5a711f4 Bug 1097224 - Part 2 - correct m-line test in verifySdp in test-harness. r=drno 2014-11-12 23:48:30 -05:00
Jan-Ivar Bruaroey
99bec8c69b Bug 1097224 - Part1 - make mozCaptureStream work after onloadedmetadata even in opt build. r=jesup 2014-11-12 23:30:10 -05:00
Jean-Yves Avenard
c7ca749da6 Bug 1075332 - Refactor mac audio decoder. Properly calculate timestamps. r=rillian
Also, in order to prevent the MediaDecoderStateMachine to stall waiting for audio data,
feed back as many decoded audio frame as were first submitted to the decoder in one go.
2014-11-12 15:13:02 +11:00