summaryrefslogtreecommitdiff
path: root/layout
Commit message (Collapse)AuthorAge
* Revert "Merge pull request #1357 from athenian200/form-disabled-issue"athenian2002020-05-23
| | | | | This reverts commit ed88b99849156004c04e4a0c87ea9b2360ef19b6, reversing changes made to c4b0715baaffc541670fd1158557aa7e61e521d3.
* Issue mcp-graveyard/UXP#1538 - remove speech recognition engineMoonchild2020-05-20
| | | | | | | | | | | | | | | This removes speech recognition, pocketsphinx, training models and the speech automated test interface. This also re-establishes proper use of MOZ_WEBSPEECH to work for the speech API (synthesis part only) that was a broken mess before, with some synth parts being always built, some parts being built only with it enabled and recognition parts being dependent on it. I'm pretty sure it'd be totally busted if you'd ever have tried building without MOZ_WEBPEECH before. Tested that synthesis still works as-intended. This resolves #1538
* issue #1547 - Correct z-ordering for some table parts and add reftestswin7-72020-05-20
|
* Issue mcp-graveyard/UXP#1545 - Fix border-radius on table row groups, rows, ↵win7-72020-05-20
| | | | | | | | | | column groups, or columns Before issue #146, border-radius on row groups, rows, column groups, or columns don't apply to the background of each cell, yet the border-radius on the cell itself does. After issue #146, the behaviors changed. In this patch, I tried to revert the behaviors of border-radius on table row groups, rows, column groups, or columns back to what happened before issue #146. Also: Don't override GetBorderRadii in nsBCTableCellFrame.
* Issue mcp-graveyard/UXP#1543 - Follow-up: avoid displaying the Alt text if ↵Moonchild2020-05-20
| | | | | | | an image is loading. This prevents the Alt text from briefly being shown before being replaced with the image.
* Issue mcp-graveyard/UXP#1543 - Align <img> with no src to the updated spec.Moonchild2020-05-20
|
* Issue mcp-graveyard/UXP#1355 - Fix the nit, remove nsPoint offset in ↵win7-72020-05-20
| | | | nsFrame.cpp and change PresShellState member order
* Issue mcp-graveyard/UXP#1355 - Better way to create display items for ↵win7-72020-05-20
| | | | | | | | | | | | | | | | | | | | | | | | column backgrounds Part 1: Remove current table item, as it's never set. Part 2: Get rid of generic table painting code, and handle each class separately. Part 4: Hoist outline skipping into col(group) frame code. Part 5: Skip box-shadow for table column and column groups. Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents. Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop. Part 8: Create column and column group background display items as part of the cell's BuildDisplayList. Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame. Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position. Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
* Issue mcp-graveyard/UXP#1355 - SetNeedToCalcHasBCBorders to true when ↵win7-72020-05-20
| | | | | | initialize nsTableFrame In the printing preview, we create continuous table frame if table is too long to containing in a page. But the default value of NeedToCalcHasBCBorders is false which means we don't calculate HasBCBorders for continuous table frame. Thus, the border collapse is not shown when printing preview.
* Issue mcp-graveyard/UXP#1355 - Avoid unnecessary work in ↵win7-72020-05-20
| | | | | | | | | | nsIFrame::BuildDisplayListForStackingContext() and nsIFrame::BuildDisplayListForChild() and Cleanup DescendIntoChild Bug 1441796 - Part 1: Optimize the (pseudo)-stacking context conditions Bug 1441796 - Part 3: Reuse the results in nsIFrame::BuildDisplayListForStackingContext() for ChildrenHavePerspective(), IsTransformed(), and Combines3DTransformWithAncestors() Bug 1512244 - Part 1: Cleanup DescendIntoChild
* Issue mcp-graveyard/UXP#1355 - Preemptively fix build bustage for 1409114win7-72020-05-20
|
* Issue mcp-graveyard/UXP#1355 - Store the dirty rect on the display list ↵win7-72020-05-20
| | | | | | builder rather than passing it as a parameter to BuildDisplayList Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
* Issue mcp-graveyard/UXP#80 - Fix additional deprot in /layout (redwood)Moonchild2020-05-20
|
* Issue mcp-graveyard/UXP#80 - Include nsIContentInlines.h in ↵adeshkp2020-05-06
| | | | layout/base/PositionedEventTargeting.cpp
* Issue mcp-graveyard/UXP#80 - Resolve issues with compiling on insane gcc ↵Moonchild2020-05-06
| | | | | | configurations with no optimizations in layout/ (and fix a typo for cs fs)
* Issue mcp-graveyard/UXP#80 - De-unify layout/xul and tree, gridMoonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/tablesMoonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/svgMoonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/style (redwood)Moonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/printingMoonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/PITA... I mean layout/genericMoonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/baseMoonchild2020-05-06
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/mathmlMatt A. Tobin2020-04-24
|
* Issue mcp-graveyard/UXP#80 - De-unify layout/formsMatt A. Tobin2020-04-24
|
* Issue mcp-graveyard/UXP#80 - De-unify /layout/inspectorMatt A. Tobin2020-04-24
|
* Issue mcp-graveyard/UXP#80 - De-unify /layout/tools/layout-debug/srcMatt A. Tobin2020-04-24
|
* Issue mcp-graveyard/UXP#80 - De-unify /layout/ipcMatt A. Tobin2020-04-24
|
* Issue mcp-graveyard/UXP#80 - De-unify /layout/buildMatt A. Tobin2020-04-24
|
* Fix deprot in /layoutwolfbeast2020-04-14
|
* Issue mcp-graveyard/UXP#1512 - Improve handling of multiple selections.wolfbeast2020-04-14
| | | | | | | | | IsSelectionEditable should check whether the focus node and anchor node aren't null before trying to use them. This also changes the initialization of selections' aOutIndex to the last range in the selection as a fallback in case we don't add a range later (in AddItem) which could also end up with a null selection otherwise if the additional selection nodes are removed.
* [layout] Always move descendants of layout frames if moved.wolfbeast2020-04-14
| | | | | If we move the frame then we always need to move any descendant views, not just in case the frame itself has a view.
* Issue mcp-graveyard/UXP#1511 - Bail on orphan situation.wolfbeast2020-04-14
| | | | This resolves #1511
* Issue mcp-graveyard/UXP#1507 - Remove nsRefreshDriver's use of high res ↵wolfbeast2020-04-14
| | | | | | | | | system timers. Since we are using vsync for timing anyway in the layout refresh driver, there is no need to bump the system timer resolution down to 1 ms. This resolves #1507.
* Issue mcp-graveyard/UXP#1355 - Make addition of cell border display items ↵wolfbeast2020-04-14
| | | | | | | | | | depend on whether they should be drawn. This reduces the size of display lists for tables by only adding display list items that are actually going to be visibly drawn, which will help overall performance of table drawing.
* Issue mcp-graveyard/UXP#1485 - Fix incorrect grid cell sizing to min/max space.wolfbeast2020-04-14
| | | | | | | | | | | | | | | | There were actually two separate logical errors in this method: The first part is that "origSizes.isSome()" is simply a bogus requirement for applying min/max-sizes here. I'm still keeping the optimization of not needlessly copying the mSizes array (as originally intended) since it's a quite common case. The second bug is that min/max-sizes were only applied under the "if (fr != 0.0f)" block. This is bogus since the calculated 'fr' value depends on 'aAvailableSize' which might change by applying min/max-sizes and thus 'fr' could become non-zero in the second round. To fix, this patch just moves "applyMinMax" block out one level.
* Issue mcp-graveyard/UXP#1480 - Skip abspos, fixed, float and placeholders ↵wolfbeast2020-04-14
| | | | for outline.
* Revert "Issue mcp-graveyard/UXP#1355 - Better way to create display items ↵wolfbeast2020-04-14
| | | | | | for column backgrounds" This reverts commit 44c47c50388f526c2d134e16d5debebe94a0faf8.
* Revert "Layout\reftests\table-background\reftest.list should have only ↵wolfbeast2020-04-14
| | | | | | additions to the end of it." This reverts commit efdc2af8ab06c50b85e584ef15deab73b66bec6d.
* Layout\reftests\table-background\reftest.list should have only additions to ↵win7-72020-04-14
| | | | | | the end of it. Layout\reftests\table-background\reftest.list should have only additions to the end of it. Revert incorrect additions.
* Issue mcp-graveyard/UXP#1355 - Better way to create display items for column ↵win7-72020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | backgrounds Part 1: Remove current table item, as it's never set. Part 2: Get rid of generic table painting code, and handle each class separately. Part 4: Hoist outline skipping into col(group) frame code. Part 5: Skip box-shadow for table column and column groups. Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents. Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop. Part 8: Create column and column group background display items as part of the cell's BuildDisplayList. Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame. Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position. Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
* Issue mcp-graveyard/UXP#1355 - Make ↵win7-72020-04-14
| | | | | | nsTableCellFrame::GetColIndex/GetRowIndex faster We can devirtualize it, remove some branches.
* [CSS] Only emit non-GC chrome wrapped XUL box warnings in debug builds.wolfbeast2020-04-14
|
* Fix a whitespace issue in nsComputedDOMStyle.cppwolfbeast2020-04-14
|
* [CSS] Add stub for font-variation-settingswolfbeast2020-04-14
| | | | | | | | | | | | This stub is added because websites insist on considering this very hardware-dependent and O.S.-variable low-level font-control as a "critical feature" which it isn't as there is 0 guarantee that font variation settings are supported or honored by any operating system used by the client. On top this is a WD status feature that sites shouldn't be using, and the feature itself is strongly discouraged for use in favor of standard CSS font manipulation keywords like `font-weight`.
* Issue mcp-graveyard/UXP#1355 - Do less work for columns not in the desired ↵win7-72020-04-14
| | | | | | | | | | set in PaintRowGroupBackgroundByColIdx Do less work in PaintRowGroupBackgroundByColIdx for cells that are not in our desired set of columns. crash fix: Guard against empty column groups when building a display list for a table.
* fix whitespacewin7-72020-04-14
| | | | fix whitespace.
* Issue mcp-graveyard/UXP#1386 - Devirtualize GetRowSpan/GetColSpanwin7-72020-04-14
| | | | It's at ~1.5% on the perf log for the Netflix use case, which seems a bit too much.
* Issue mcp-graveyard/UXP#1395 - Remove FlyWeb ServiceMatt A. Tobin2020-04-14
|
* Issue mcp-graveyard/UXP#1390 - Get rid of the Presentation APIMatt A. Tobin2020-04-14
|
* Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become ↵win7-72020-04-14
| | | | | | extremely slow Add dirty rect intersection checks so that we don't build unnecessary table part display items.