Skip to content

[MSKINS-169] Image height not effective - #23

Merged
michael-o merged 1 commit into
masterfrom
MSKINS-169
May 5, 2022
Merged

michael-o merged 1 commit into
masterfrom
MSKINS-169

Conversation

@michael-o

Copy link
Copy Markdown
Member

It is also imperative to provide units otherwise the browser will ignore
them.

Reason for the failure: https://stackoverflow.com/a/44010892/696632

This closes #23

@michael-o
michael-o requested a review from hboutemy May 1, 2022 10:22
@michael-o

Copy link
Copy Markdown
Member Author

@kwin Please review.

Comment thread pom.xml
<goals>
<goal>site</goal>
</goals>
<streamLogsOnFailures>true</streamLogsOnFailures>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It spills the terminals with thousands of lines of debug output. Basically impossible to scroll back to the invoker report and pray that your terminal buffer is large enough. Moreover, in other components this isn't enabled also.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough but the problem is more: why do we have this for m-invoker-p? (as you complain about verbosity :) )

<debug>true</debug>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't tell whether this is enabled for other components as well, but the build.log will contain debug output which is very helpful in failure cases. If it is not enabled, you need to enable it temporarily and and run everything again. Just losing time.

@michael-o

Copy link
Copy Markdown
Member Author

@kwin any change you can verify this in time?

@kwin kwin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine, just some minor comments.

#* *##end
#* *##if( $border )
#* *##set ( $imgBorder = ' border="' + $border + '"' )
#* *##set ( $imgBorder = 'border: ' + $border + ';' )

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be rather border-width (https://developer.mozilla.org/en-US/docs/Web/CSS/border-width) as the css attribute border may also set other styles and may lead to some ambiguity and border-width is the equivalent of the border html attribute. The spec is not really clear in this regard though: https://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html#class_bannerLeft

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree this needs clarification or change, but that will happen in Doxia 2 only.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raise an issue with Doxia Sitetools.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

michael-o added a commit that referenced this pull request May 5, 2022
It is also imperative to provide units otherwise the browser will ignore
them.

Reason for the failure: https://stackoverflow.com/a/44010892/696632

This closes #23

@kwin kwin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes, looks good to me now.

It is also imperative to provide units otherwise the browser will ignore
them.

Reason for the failure: https://stackoverflow.com/a/44010892/696632

This closes #23
@michael-o michael-o closed this in 97b9161 May 5, 2022
@michael-o
michael-o merged commit 97b9161 into master May 5, 2022
@michael-o
michael-o deleted the MSKINS-169 branch May 5, 2022 19:40
@olamy olamy added the bug Something isn't working label May 6, 2022
@jira-importer

Copy link
Copy Markdown

Resolve #296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants