aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/lineutils/plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'sources/plugins/lineutils/plugin.js')
-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 *