| Index: Source/core/dom/PositionIterator.cpp
|
| diff --git a/Source/core/dom/PositionIterator.cpp b/Source/core/dom/PositionIterator.cpp
|
| index 215689455a63656e1718dce626b7dac23dff9018..34328d65479d94e827eb3b8d545dc77dd3e3525b 100644
|
| --- a/Source/core/dom/PositionIterator.cpp
|
| +++ b/Source/core/dom/PositionIterator.cpp
|
| @@ -20,7 +20,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| #include "config.h"
|
| @@ -89,7 +89,7 @@ void PositionIterator::decrement()
|
| }
|
| return;
|
| }
|
| -
|
| +
|
| if (m_anchorNode->hasChildNodes()) {
|
| m_anchorNode = m_anchorNode->lastChild();
|
| m_offsetInAnchor = m_anchorNode->hasChildNodes()? 0: lastOffsetForEditing(m_anchorNode);
|
| @@ -147,7 +147,7 @@ bool PositionIterator::isCandidate() const
|
| RenderObject* renderer = m_anchorNode->renderer();
|
| if (!renderer)
|
| return false;
|
| -
|
| +
|
| if (renderer->style()->visibility() != VISIBLE)
|
| return false;
|
|
|
|
|