Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

click-to-focus in empty list-elements #30

Closed
thz opened this issue Sep 27, 2013 · 3 comments
Closed

click-to-focus in empty list-elements #30

thz opened this issue Sep 27, 2013 · 3 comments

Comments

@thz
Copy link
Member

thz commented Sep 27, 2013

while clicking next to empty paragraphs and headings works for placing the cursor into them, it does not work for list-items.

reproduce:

  1. load welcome.odt in editor (http://www.webodf.org/demo/ci/webodf-0.4.2-1155-g06be704/editor/localeditor.html)
  2. move cursor into first list-item ("based on the internationally...")
  3. hit enter 5 times, that will create empty list-items (which will contain text:p and editinfo)
  4. try to move cursor into one of the empty list-items with a mouse-click

observation:

  1. it seems impossible to position the cursor there with the mouse

expected behaviour:

  1. "should work" ;)
@thz
Copy link
Member Author

thz commented Oct 15, 2013

@thz thz closed this as completed Oct 15, 2013
@thz
Copy link
Member Author

thz commented Oct 27, 2013

this is fixed in firefox only.
in chrome it is still not possible to position the cursor with the mouse in empty list items.

@thz thz reopened this Oct 27, 2013
@ghost ghost assigned kossebau Dec 19, 2013
@peitschie peitschie self-assigned this Feb 7, 2014
peitschie added a commit to peitschie/WebODF that referenced this issue Feb 7, 2014
Elements that are simply display:inline, but have no visible content can
do strange things to the browser selections in Chrome. They will actually
stop other preceding nodes in the same container from being selectable,
instead causing the selection to climb to the parent container.

Fixes issue webodf#30
@peitschie
Copy link
Contributor

Bug is no longer reproducible on http://ci.kogmbh.com/deploy/WebODF/webodf-ci-b217-g3916db4e/editor/localeditor.html in either Chrome or Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants