? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
22 Apr 2016

Pull Request for New Issue.

Summary of Changes

The Created by alias in com_content articles view is using a p tag inside the results table.

The usage of padds an extra spacing to the bottom of the row.

Before patch

image

After patch

image

Testing Instructions

Very simple

  1. To Content -> Articles
  2. Check the row bottom spacing of an article with created by user alias
  3. Apply patch
  4. Repeat step 2. the space is gone.
avatar andrepereiradasilva andrepereiradasilva - open - 22 Apr 2016
avatar andrepereiradasilva andrepereiradasilva - change - 22 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - test_item - 22 Apr 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 22 Apr 2016

I have tested this item :white_check_mark: successfully on eb0cb0a

Good spot


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar brianteeman brianteeman - change - 22 Apr 2016
Category Components UI/UX
avatar richard67
richard67 - comment - 22 Apr 2016

@andrepereiradasilva the div elemet by which you replaced the p element is also a block element, see here: http://www.w3schools.com/html/html_blocks.asp.

So if p is not allowed, then div is also not allowed I assume.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar richard67
richard67 - comment - 22 Apr 2016

@andrepereiradasilva A span should be ok because span is inline element. So maybe you can use a span instead of a div?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Apr 2016

lol! i think you're right, let me test in the html validator.

avatar richard67
richard67 - comment - 22 Apr 2016

The validator will tell you the same :tongue:

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Apr 2016

forget it, i think that was only a rule on XHTML Strict DOCTYPE or something. You can have block level inside tables.

Anyhow this solves the space problem.

avatar richard67 richard67 - test_item - 22 Apr 2016 - Tested successfully
avatar richard67
richard67 - comment - 22 Apr 2016

I have tested this item :white_check_mark: successfully on eb0cb0a


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar rdeutz
rdeutz - comment - 22 Apr 2016

I think it is more a question of css then p or div tag. P seems to me semantic more correct.

avatar richard67
richard67 - comment - 22 Apr 2016

@rdeutz But in the same view for all other columns divs are used, that was the only place where I saw a p tag. So if you want p for correct semantics, it has to be used everywhere.

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Apr 2016

yes, true. was mistaken reggarding HTML block elements as said.

i think div or span or a simple br (when no css classes) is used most of the times.

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Apr 2016

hum ... just noticed the same problem in featured articles ...

avatar rdeutz
rdeutz - comment - 22 Apr 2016

@richard67 just ignore me this time :-), I think there is not right or wrong here, if div's are used most of the time, then I can live with div's

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Apr 2016

ok will correct the featured articles too

avatar andrepereiradasilva andrepereiradasilva - change - 22 Apr 2016
Title
Don't use paragraphs inside tables
Don't use paragraphs inside tables (part 1 - articles)
avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Apr 2016

ok done for featured to #10052
easiest test ever !

avatar rdeutz rdeutz - change - 22 Apr 2016
Milestone Added:
avatar andrepereiradasilva andrepereiradasilva - change - 22 Apr 2016
Title
Don't use paragraphs inside tables
Remove extra spacing caused by paragraphs inside tables (part 1 - articles)
avatar andrepereiradasilva andrepereiradasilva - change - 22 Apr 2016
Title
Don't use paragraphs inside tables (part 1 - articles)
Remove extra spacing caused by paragraphs inside tables (part 1 - articles)
avatar MATsxm MATsxm - test_item - 22 Apr 2016 - Tested successfully
avatar MATsxm
MATsxm - comment - 22 Apr 2016

I have tested this item :white_check_mark: successfully on eb0cb0a

thanks


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar MDXBilal12 MDXBilal12 - test_item - 22 Apr 2016 - Tested successfully
avatar MDXBilal12
MDXBilal12 - comment - 22 Apr 2016

I have tested this item :white_check_mark: successfully on eb0cb0a


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar brianteeman brianteeman - change - 22 Apr 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 22 Apr 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10050.

avatar joomla-cms-bot joomla-cms-bot - change - 22 Apr 2016
Labels Added: ?
avatar rdeutz rdeutz - reference | 6f466d0 - 23 Apr 16
avatar rdeutz rdeutz - merge - 23 Apr 2016
avatar rdeutz rdeutz - close - 23 Apr 2016
avatar rdeutz rdeutz - close - 23 Apr 2016
avatar rdeutz rdeutz - merge - 23 Apr 2016
avatar joomla-cms-bot joomla-cms-bot - close - 23 Apr 2016
avatar rdeutz rdeutz - change - 23 Apr 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-04-23 08:55:28
Closed_By rdeutz
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2016
Labels Removed: ?
avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 23 Apr 2016
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Removed:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Added:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Added:
avatar rdeutz rdeutz - change - 1 May 2016
Milestone Removed:

Add a Comment

Login with GitHub to post a comment