summaryrefslogtreecommitdiffstats
path: root/layout
Commit message (Collapse)AuthorAgeLines
* Issue #1647 - Part 1: Implement percentage for CSS opacity keywordsathenian2002020-09-16-14/+29
| | | | | This preliminary step allows percentages to be computed and display correctly, but unfortunately it fails a test after changing VARIANT_HN to VARIANT_HPN because that allows values to be serialized as percentages. However, not doing this means percentages are rejected as valid values for the user to input. The way the style system is setup makes it hard to change this for opacity without changing it for everything else, especially since some code-saving speed hacks in Bug 636029 and Bug 441367 that make a lot of assumptions about this stuff very rigid.
* Issue #1629 - Part 5: Remove pointless local variables.athenian2002020-09-09-8/+7
| | | | Since the local variable is always initialized to false, we don't actually need to declare it and can just pass "false" directly as a parameter to the PrepareSheet function's bool. I was worried about code readability at first, but some well-placed comments took care of that.
* Issue #1629 - Part 4: Ensure isExplicitlyEnabled is false upon sheet creation.athenian2002020-09-06-2/+5
| | | | This clarifies the assumptions the code is making and the order in which the variables pass through the loading process. The new variable is set after the sheet is created and prepared, and is assumed to be false in the beginning.
* Issue #1629 - Part 2: Implement the Explicitly Enabled flag.athenian2002020-08-13-13/+28
| | | | | | | | | | | | | | | | This part of the bug was significantly complicated by the following major refactors: https://bugzilla.mozilla.org/show_bug.cgi?id=1456435 https://bugzilla.mozilla.org/show_bug.cgi?id=1459498 As best as I can tell, we just need to implement the explicitly enabled flag on every instance of GetStyleSheetInfo, make sure aIsExplicitlyEnabled is false in every situation except the one where the disabled content attribute is removed from a link element, and enable alternate stylesheets if this flag is set on them. So we take the explicitly enabled flag as an input to PrepareSheet, and also add it to LoadStyleLink and LoadInlineStyle. I also decided not to defer loading of alternate stylesheets that have been explicitly enabled.
* Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTKLootyhoof2020-06-09-0/+11
|
* Merge pull request #1576 from win7-7/1379306-prMoonchild2020-06-04-2/+154
|\ | | | | Fix the wrong position when we calculate the position for position:absolute child
| * issue #1575 - Fix the wrong position when we calculate the position for ↵win7-72020-06-02-2/+154
| | | | | | | | | | | | position:absolute child and add reftests Use |GetUsedBorder| instead of |GetComputedBorder| when we calculate the position for position:absolute child.
* | Issue #1525 - Kill marquee elementMoonchild2020-06-01-1578/+0
| | | | | | | | | | | | * Remove marquee code * Regenerate HTML Elements/parser code for Removal of Marquee. Co-authored-by: Gaming4JC <g4jc@hyperbola.info>
* | Issue #1564 - Split off nsIdentifierMapEntry in its own headerwolfbeast2020-05-25-0/+1
|/ | | | + Fix dependency fallout from removing nsDocument.h from ShadowRoot.h
* [permissions] Fix build bustage with --disable-permissionsMoonchild2020-05-21-0/+2
|
* [printing] Fix build bustage with --disable-printingMoonchild2020-05-21-0/+2
|
* Merge pull request #1559 from athenian200/form-disabled-issueMoonchild2020-05-21-29/+35
|\ | | | | Restore -moz-input-disabled and allow events to target disabled form controls.
| * Revert "Merge pull request #1357 from athenian200/form-disabled-issue"athenian2002020-05-20-29/+35
| | | | | | | | | | This reverts commit ed88b99849156004c04e4a0c87ea9b2360ef19b6, reversing changes made to c4b0715baaffc541670fd1158557aa7e61e521d3.
* | Issue #1538 - remove speech recognition engineMoonchild2020-05-20-38/+0
|/ | | | | | | | | | | | | | | 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-13-2/+164
|
* Merge pull request #1546 from win7-7/1375518-prMoonchild2020-05-13-18/+275
|\ | | | | Fix border-radius on table row groups, rows, column groups, or columns
| * Issue #1545 - Fix border-radius on table row groups, rows, column groups, or ↵win7-72020-05-12-18/+275
| | | | | | | | | | | | | | | | | | | | 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 #1543 - Follow-up: avoid displaying the Alt text if an image is loading.Moonchild2020-05-12-18/+9
|/ | | | | This prevents the Alt text from briefly being shown before being replaced with the image.
* Issue #1543 - Align <img> with no src to the updated spec.Moonchild2020-05-11-58/+63
|
* Issue #1355 - Fix the nit, remove nsPoint offset in nsFrame.cpp and change ↵win7-72020-05-10-5/+3
| | | | PresShellState member order
* Issue #1355 - Better way to create display items for column backgroundswin7-72020-05-08-340/+488
| | | | | | | | | | | | | | | | | | | | | | 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 #1355 - SetNeedToCalcHasBCBorders to true when initialize nsTableFramewin7-72020-05-08-0/+3
| | | | 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 #1355 - Avoid unnecessary work in ↵win7-72020-05-08-57/+80
| | | | | | | | | | 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 #1355 - Preemptively fix build bustage for 1409114win7-72020-05-08-22/+23
|
* Issue #1355 - Store the dirty rect on the display list builder rather than ↵win7-72020-05-08-430/+259
| | | | | | passing it as a parameter to BuildDisplayList Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
* Issue #80 - Include nsIContentInlines.h in ↵adeshkp2020-05-01-0/+1
| | | | layout/base/PositionedEventTargeting.cpp
* Issue #80 - Resolve issues with compiling on insane gcc configurations with ↵Moonchild2020-05-01-1/+4
| | | | | | no optimizations in layout/ (and fix a typo for cs fs)
* Issue #80 - De-unify layout/xul and tree, gridMoonchild2020-04-30-4/+14
|
* Issue #80 - De-unify layout/tablesMoonchild2020-04-30-1/+9
|
* Issue #80 - De-unify layout/svgMoonchild2020-04-30-1/+12
|
* Issue #80 - De-unify layout/styleMoonchild2020-04-30-15/+39
|
* Issue #80 - De-unify layout/printingMoonchild2020-04-29-4/+11
|
* Issue #80 - De-unify layout/PITA... I mean layout/genericMoonchild2020-04-29-8/+21
|
* Issue #80 - De-unify layout/baseMoonchild2020-04-29-15/+43
|
* Issue #80 - De-unify layout/mathmlMatt A. Tobin2020-04-18-2/+3
|
* Issue #80 - De-unify layout/formsMatt A. Tobin2020-04-18-1/+5
|
* Issue #80 - De-unify /layout/inspectorMatt A. Tobin2020-04-18-2/+2
|
* Issue #80 - De-unify /layout/tools/layout-debug/srcMatt A. Tobin2020-04-18-1/+1
|
* Issue #80 - De-unify /layout/ipcMatt A. Tobin2020-04-18-4/+1
|
* Issue #80 - De-unify /layout/buildMatt A. Tobin2020-04-18-1/+3
|
* Issue #1375 - Fix IsWebComponentsEnabled checksMatt A. Tobin2020-04-17-69/+122
|
* Bug 1425769 - Base class for ShadowRoot and Document to manage style stateMatt A. Tobin2020-04-17-6/+6
| | | | Tag #1375
* Issue #80 - De-unify dom/baseMatt A. Tobin2020-04-17-0/+1
| | | | Tag #1375
* Bug 1322661 - Expose (non-XBL) style sheets to devtoolsMatt A. Tobin2020-04-17-22/+18
| | | | Tag #1375
* Bug 1417829 - Remove unresolved pseudoclassMatt A. Tobin2020-04-17-3/+0
| | | | Tag #1375
* Bug 1426536 - Remove nsContentUtils::IsContentInsertionPointMatt A. Tobin2020-04-17-4/+4
| | | | Tag #1375
* Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]Matt A. Tobin2020-04-17-0/+82
| | | | Tag #1375
* Bug 1419762 - Return the inline continuation of an IB split when appendingMatt A. Tobin2020-04-17-3/+20
| | | | Tag #1375
* Bug 1419964 - Remove AdjustParentFrameForAfterContentMatt A. Tobin2020-04-17-147/+70
| | | | Tag #1375
* Bug 1415843 - Remove an unneeded call to AdjustAppendParentForAfterContentMatt A. Tobin2020-04-17-46/+0
| | | | Tag #1375