aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/lineutils
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-12-04 18:55:29 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-12-04 18:55:29 +0100
commit1794320dcfdfcd19572fb1676294f9853a6bbc20 (patch)
treea4c9e978947d6930d50391747382d7f95a5863e3 /sources/plugins/lineutils
parent7183f6a6a21ad9124e70c997e0168459f377a9f2 (diff)
downloadludivine-ckeditor-component-master.tar.gz
ludivine-ckeditor-component-master.tar.zst
ludivine-ckeditor-component-master.zip
Update to 4.7.3HEAD4.7.3master
Diffstat (limited to 'sources/plugins/lineutils')
-rw-r--r--sources/plugins/lineutils/plugin.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/plugins/lineutils/plugin.js b/sources/plugins/lineutils/plugin.js
index e0473ee..d84c5f3 100644
--- a/sources/plugins/lineutils/plugin.js
+++ b/sources/plugins/lineutils/plugin.js
@@ -379,7 +379,7 @@
379 continue; 379 continue;
380 } 380 }
381 381
382 // On IE8 element.getElementsByTagName returns comments... sic! (#13176) 382 // On IE8 element.getElementsByTagName returns comments... sic! (http://dev.ckeditor.com/ticket/13176)
383 if ( el.type != CKEDITOR.NODE_ELEMENT ) { 383 if ( el.type != CKEDITOR.NODE_ELEMENT ) {
384 continue; 384 continue;
385 } 385 }
@@ -840,7 +840,7 @@
840 840
841 // Let's calculate the vertical position of the line. 841 // Let's calculate the vertical position of the line.
842 if ( this.inline ) { 842 if ( this.inline ) {
843 // (#13155) 843 // (http://dev.ckeditor.com/ticket/13155)
844 styles.top = loc + this.winTopScroll.y - this.rect.relativeY; 844 styles.top = loc + this.winTopScroll.y - this.rect.relativeY;
845 } else { 845 } else {
846 styles.top = this.rect.top + this.winTopScroll.y + loc; 846 styles.top = this.rect.top + this.winTopScroll.y + loc;
@@ -853,7 +853,7 @@
853 853
854 // Now let's calculate the horizontal alignment (left and width). 854 // Now let's calculate the horizontal alignment (left and width).
855 if ( this.inline ) { 855 if ( this.inline ) {
856 // (#13155) 856 // (http://dev.ckeditor.com/ticket/13155)
857 styles.left = rel.elementRect.left - this.rect.relativeX; 857 styles.left = rel.elementRect.left - this.rect.relativeX;
858 } else { 858 } else {
859 if ( rel.elementRect.left > 0 ) 859 if ( rel.elementRect.left > 0 )
@@ -939,13 +939,13 @@
939 this.winTopScroll = this.winTop.getScrollPosition(); 939 this.winTopScroll = this.winTop.getScrollPosition();
940 this.winTopPane = this.winTop.getViewPaneSize(); 940 this.winTopPane = this.winTop.getViewPaneSize();
941 941
942 // (#13155) 942 // (http://dev.ckeditor.com/ticket/13155)
943 this.rect = this.getClientRect( this.inline ? this.editable : this.frame ); 943 this.rect = this.getClientRect( this.inline ? this.editable : this.frame );
944 }, 944 },
945 945
946 /** 946 /**
947 * Returns `boundingClientRect` of an element, shifted by the position 947 * Returns `boundingClientRect` of an element, shifted by the position
948 * of `container` when the container is not `static` (#13155). 948 * of `container` when the container is not `static` (http://dev.ckeditor.com/ticket/13155).
949 * 949 *
950 * See also: {@link CKEDITOR.dom.element#getClientRect}. 950 * See also: {@link CKEDITOR.dom.element#getClientRect}.
951 * 951 *