Граф коммитов

81 Коммитов

Автор SHA1 Сообщение Дата
Tobias Schneider b411281ed7 Bug 1359311 - (intersection-observer) Send update notifications in same order as observed. r=smaug
--HG--
extra : rebase_source : 36dc59e18178204e01d293db177664ca994d5117
2017-06-25 19:35:21 -07:00
Tobias Schneider 73616729d7 Bug 1363650 - (intersection-observer) Use content area as the intersection rectangle for custom root with overflow clip. r=mattwoodrow
--HG--
extra : rebase_source : f5f559903d704159a062d99fa43360a6222a3ee7
2017-06-21 10:40:44 -07:00
Phil Ringnalda 4b3c78827c Backed out changeset eeb0a65afa6d (bug 1363650) for wpt failures in intersection-observer/bounding-box.html and intersection-observer/unclipped-root.html
MozReview-Commit-ID: HycwX8lA9sw
2017-06-20 20:50:08 -07:00
Tobias Schneider cfab4c8f59 Bug 1363650 - (intersection-observer) Use content area as the intersection rectangle for custom root with overflow clip. r=mattwoodrow
--HG--
extra : rebase_source : 28c2af53622e02a2e46f49cd0aed642522d86937
2017-06-20 16:43:17 -07:00
Tobias Schneider e5f0ccbf64 Bug 1359317 - (intersection-observer) Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect. r=mstange 2017-06-19 13:32:07 -07:00
Mats Palmgren 4264d9480f Bug 1371925 - Remove unnecessary hashtable lookups in DOMIntersectionObserver. r=froydnj
MozReview-Commit-ID: LUt03nCz3SD
2017-06-17 00:06:04 +02:00
Tobias Schneider b002e63faf Bug 1370968 - Guard against possible NULL values when IntersecionObserver API is used in XUL pages. r=mstange
--HG--
extra : rebase_source : e4e7adb0113b39cda607bf9f863e75165ed402c1
2017-06-07 15:16:59 -07:00
Tobias Schneider f47b467c52 Bug 1359318 - (intersection-observer) Map intersectionRect to the coordinate space of the target document. r=mstange 2017-06-02 14:11:31 -07:00
Tobias Schneider 5e2804200d Bug 1359316 - (intersection-observer) Intersection ratio should be 1.0 for zero-area intersections. r=mstange 2017-05-17 12:19:07 -07:00
Tobias Schneider 35d8cb5c30 Bug 1358668 - (intersection-observer) Set rootBounds to an empty rectangle instead of null when not intersecting. r=mstange 2017-05-24 17:12:31 -07:00
Emilio Cobos Álvarez e44543aad4 Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
MozReview-Commit-ID: 5Nzhyta5Hle

--HG--
extra : rebase_source : c2e9d4bfb9239f5e851d110cd7dff98c1e1a8d8b
2017-04-30 17:30:08 +02:00
Tobias Schneider fa547be7bd Bug 1353529 - Crash when using IntersectionObserver in XUL pages. r=mstange
MozReview-Commit-ID: 9RBrnst4Wkb

--HG--
extra : rebase_source : 257874993e1a1fa81931b2c513357c92b6f705a9
2017-04-04 20:14:46 -07:00
Tobias Schneider b7b6c5f6b1 Bug 1319137 - (intersection-observer) Add isIntersecting property to IntersectionObserverEntry r=mrbkap,mstange
MozReview-Commit-ID: GmwpD0FYWAa

--HG--
extra : rebase_source : b87bff385f10ee97d491548d98557e0e2cd2ad21
2017-02-08 11:22:53 -08:00
Tobias Schneider 5167bc2af8 Bug 1337936 - (intersection-observer) Revise lifetime management. r=smaug
MozReview-Commit-ID: 4pzm00igBLR

--HG--
extra : rebase_source : ad9c5581f991c392f431793fde289b8ca8245bd0
2017-02-22 10:45:13 -08:00
Sebastian Hengst ae051c91a0 Backed out changeset 5f93d62d9229 (bug 1337936) for asserting in crashtest 869038.html. r=backout 2017-02-22 14:06:26 +01:00
Tobias Schneider 0da735fe74 Bug 1337936 - (intersection-observer) Revise lifetime management. r=smaug
MozReview-Commit-ID: AvdDJaRELXm

--HG--
extra : rebase_source : a3e8705822545fd4c1cee688939c617a419d3936
2017-02-21 03:13:39 -08:00
Tobias Schneider 93adeed0fe Bug 1333580 - Properly unregister last unobserved target. r=mrbkap
MozReview-Commit-ID: FfPJFSXeT98

--HG--
extra : rebase_source : d902715f419a4e3e1249d4e1d424953cbe8931e3
2017-01-24 14:11:34 -08:00
Olli Pettay 0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Tobias Schneider 7702c68f7a Bug 1324209 - Safely iterate over mIntersectionObservers in nsDocument::NotifyIntersectionObservers. r=mstange
MozReview-Commit-ID: DmtTUiCObHM
2016-12-21 11:36:41 -08:00
Tobias Schneider eef5af1c91 Bug 1322717 - Disconnect/Unlink in the proper order to avoid crashes in mozilla::dom::DOMIntersectionObserver::UnlinkTarget. r=mrbkap 2016-12-08 18:54:07 -08:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Tobias Schneider 4bf964cab8 Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap
--HG--
extra : rebase_source : 374b22a8b3fce5b220d323593a712387d6caf7f6
2016-11-23 13:14:00 -05:00
Ting-Yu Lin 754b6c9659 Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"

MozReview-Commit-ID: 9T0ORsqM6nP

--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Tobias Schneider bff9de0c6e Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap 2016-11-15 15:49:00 +01:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Andi-Bogdan Postelnicu b43be84495 Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
MozReview-Commit-ID: ysMKgcL3YQ

--HG--
extra : rebase_source : 37ac432e1bca84a6ab34ab2b84577b6702ba6413
2016-11-14 11:31:11 +02:00
Andrew McCreight 12eaf5ca37 Backed out changeset 63cafb0c2f0f (bug 1315837) for causing bug 1317415. 2016-11-15 07:59:24 -08:00
Tobias Schneider 0cb90d5992 Bug 1315837 - Fix crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap
--HG--
extra : rebase_source : 77edac309414e61dd103bc60668351d6e3548890
2016-11-09 09:10:00 -05:00
Tobias Schneider fb3bba701b Bug 1314027 - r=mstange 2016-11-02 00:25:10 -07:00
Tobias Schneider af7da87e7d Bug 1314032 - Add null checks to fix crash in mozilla::dom::DOMIntersectionObserver::Update. r=mstange 2016-10-31 12:24:00 -04:00
Tobias Schneider 5b2ef3c1db Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange 2016-10-28 10:24:00 -04:00